Skip to content

Commit 377d32a

Browse files
committed
expose pagination utils from pydis_core namespace
This also renames the module from `paginator` to `pagination`
1 parent bfd2874 commit 377d32a

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-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 LinePaginator, PaginationEmojis, EmptyPaginatorEmbedError
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: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
interactions,
1212
logging,
1313
members,
14+
pagination,
1415
paste_service,
1516
regex,
1617
scheduling,
@@ -49,6 +50,7 @@ def apply_monkey_patches() -> None:
4950
regex,
5051
scheduling,
5152
unqualify,
53+
pagination
5254
]
5355

5456
__all__ = [module.__name__ for module in __all__]
File renamed without changes.

0 commit comments

Comments
 (0)