Skip to content

Commit 02e9ea6

Browse files
committed
undo this as a trial
1 parent c976fbd commit 02e9ea6

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

core/utils/paginator.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
from __future__ import annotations
2424

2525
import asyncio
26-
from abc import abstractmethod
2726
from typing import TYPE_CHECKING, Any
2827

2928
import discord
@@ -117,9 +116,8 @@ def get_page(self, page: int) -> list[Any]:
117116
base = (page - 1) * self.per_page
118117
return self.entries[base : base + self.per_page]
119118

120-
@abstractmethod
121-
def get_content(self, entry: Any, page: int, *, first: bool = False) -> str:
122-
raise NotImplementedError
119+
def get_content(self, entry: Any, page: int, *, first: bool = False) -> str | None:
120+
return None
123121

124122
def get_embed(self, entries: list[Any], page: int, *, first: bool = False) -> discord.Embed:
125123
self.prepare_embed(entries, page, first=first)

0 commit comments

Comments
 (0)