refactor: rename ButtonPaginator -> DPYPaginator (keep ButtonPaginator as alias)
the paginator class is now DPYPaginator, matching the package name (dpy_paginator), for naming consistency with the suite. ButtonPaginator is kept as a back-compat alias (ButtonPaginator = DPYPaginator), so existing imports and call sites keep working unchanged. both names are exported in __all__. mirrors the suite's alias convention (aioweb Response/aiowebResponse, envelope_crypto EnvelopeCrypto/PCICrypto). verified against discord.py 2.7.1: both names resolve to the same class, construction via either name works, the empty-pages ValueError message updated. v0.1.6. Signed-off-by: disqualifier <dev@disqualifier.me>
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
||||
|
||||
[project]
|
||||
name = "dpy_paginator"
|
||||
version = "0.1.5"
|
||||
version = "0.1.6"
|
||||
description = "Button-navigated paginator for discord.py — config-free, injectable emojis, installable."
|
||||
requires-python = ">=3.10"
|
||||
dependencies = [
|
||||
|
||||
Reference in New Issue
Block a user