Skip to content

Commit 8d950e8

Browse files
committed
expose the paginator & its dependencies from the pydis_core package
1 parent 618d55e commit 8d950e8

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

pydis_core/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
from pydis_core import async_stats, exts, site_api, utils
44
from pydis_core._bot import BotBase, StartupError
5+
from pydis_core.utils.pagination import EmptyPaginatorEmbedError, LinePaginator, PaginationEmojis
56

67
__all__ = [
78
async_stats,
@@ -10,6 +11,9 @@
1011
utils,
1112
site_api,
1213
StartupError,
14+
LinePaginator,
15+
PaginationEmojis,
16+
EmptyPaginatorEmbedError
1317
]
1418

1519
__all__ = [module.__name__ for module in __all__]

pydis_core/utils/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
interactions,
1212
logging,
1313
members,
14+
messages,
15+
pagination,
1416
paste_service,
1517
regex,
1618
scheduling,
@@ -45,6 +47,8 @@ def apply_monkey_patches() -> None:
4547
interactions,
4648
logging,
4749
members,
50+
messages,
51+
pagination,
4852
paste_service,
4953
regex,
5054
scheduling,
File renamed without changes.

0 commit comments

Comments
 (0)