mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-06 01:12:33 -05:00
Privatize APIs by renaming or removing them from __all__ (#6021)
This commit is contained in:
@@ -68,7 +68,7 @@ else:
|
||||
_P = TypeVar("_P")
|
||||
|
||||
|
||||
__all__ = [
|
||||
__all__ = (
|
||||
"Cog",
|
||||
"CogMixin",
|
||||
"CogCommandMixin",
|
||||
@@ -77,13 +77,15 @@ __all__ = [
|
||||
"Group",
|
||||
"GroupCog",
|
||||
"GroupMixin",
|
||||
"HybridCommand",
|
||||
"HybridGroup",
|
||||
"command",
|
||||
"group",
|
||||
"hybrid_command",
|
||||
"hybrid_group",
|
||||
"RESERVED_COMMAND_NAMES",
|
||||
"RedUnhandledAPI",
|
||||
]
|
||||
)
|
||||
|
||||
#: The following names are reserved for various reasons
|
||||
RESERVED_COMMAND_NAMES = (
|
||||
|
||||
Reference in New Issue
Block a user