mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-05 17:02:32 -05:00
Privatize APIs by renaming or removing them from __all__ (#6021)
This commit is contained in:
@@ -59,3 +59,57 @@ from discord.app_commands import (
|
||||
locale_str as locale_str,
|
||||
rename as rename,
|
||||
)
|
||||
|
||||
__all__ = (
|
||||
"AllChannels",
|
||||
"AppCommand",
|
||||
"AppCommandChannel",
|
||||
"AppCommandError",
|
||||
"AppCommandGroup",
|
||||
"AppCommandPermissions",
|
||||
"AppCommandThread",
|
||||
"Argument",
|
||||
"BotMissingPermissions",
|
||||
"Command",
|
||||
"CommandAlreadyRegistered",
|
||||
"CommandInvokeError",
|
||||
"CommandLimitReached",
|
||||
"CommandNotFound",
|
||||
"CommandOnCooldown",
|
||||
"CommandSignatureMismatch",
|
||||
"CommandSyncFailure",
|
||||
"CommandTree",
|
||||
"ContextMenu",
|
||||
"Cooldown",
|
||||
"Group",
|
||||
"GuildAppCommandPermissions",
|
||||
"MissingAnyRole",
|
||||
"MissingApplicationID",
|
||||
"MissingPermissions",
|
||||
"MissingRole",
|
||||
"Namespace",
|
||||
"NoPrivateMessage",
|
||||
"Parameter",
|
||||
"Range",
|
||||
"Transform",
|
||||
"Transformer",
|
||||
"TransformerError",
|
||||
"TranslationContext",
|
||||
"TranslationContextLocation",
|
||||
"TranslationContextTypes",
|
||||
"TranslationError",
|
||||
"Translator",
|
||||
"autocomplete",
|
||||
"check",
|
||||
"CheckFailure",
|
||||
"Choice",
|
||||
"choices",
|
||||
"command",
|
||||
"context_menu",
|
||||
"default_permissions",
|
||||
"describe",
|
||||
"guild_only",
|
||||
"guilds",
|
||||
"locale_str",
|
||||
"rename",
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user