mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-07 09:52:30 -05:00
Add redbot.core.app_commands namespace (#6006)
This commit is contained in:
61
redbot/core/app_commands/__init__.py
Normal file
61
redbot/core/app_commands/__init__.py
Normal file
@@ -0,0 +1,61 @@
|
||||
########## SENSITIVE SECTION WARNING ###########
|
||||
################################################
|
||||
# Any edits of any of the exported names #
|
||||
# may result in a breaking change. #
|
||||
# Ensure no names are removed without warning. #
|
||||
################################################
|
||||
|
||||
### DEP-WARN: Check this *every* discord.py update
|
||||
from discord.app_commands import (
|
||||
AllChannels as AllChannels,
|
||||
AppCommand as AppCommand,
|
||||
AppCommandChannel as AppCommandChannel,
|
||||
AppCommandError as AppCommandError,
|
||||
AppCommandGroup as AppCommandGroup,
|
||||
AppCommandPermissions as AppCommandPermissions,
|
||||
AppCommandThread as AppCommandThread,
|
||||
Argument as Argument,
|
||||
BotMissingPermissions as BotMissingPermissions,
|
||||
Command as Command,
|
||||
CommandAlreadyRegistered as CommandAlreadyRegistered,
|
||||
CommandInvokeError as CommandInvokeError,
|
||||
CommandLimitReached as CommandLimitReached,
|
||||
CommandNotFound as CommandNotFound,
|
||||
CommandOnCooldown as CommandOnCooldown,
|
||||
CommandSignatureMismatch as CommandSignatureMismatch,
|
||||
CommandSyncFailure as CommandSyncFailure,
|
||||
CommandTree as CommandTree,
|
||||
ContextMenu as ContextMenu,
|
||||
Cooldown as Cooldown,
|
||||
Group as Group,
|
||||
GuildAppCommandPermissions as GuildAppCommandPermissions,
|
||||
MissingAnyRole as MissingAnyRole,
|
||||
MissingApplicationID as MissingApplicationID,
|
||||
MissingPermissions as MissingPermissions,
|
||||
MissingRole as MissingRole,
|
||||
Namespace as Namespace,
|
||||
NoPrivateMessage as NoPrivateMessage,
|
||||
Parameter as Parameter,
|
||||
Range as Range,
|
||||
Transform as Transform,
|
||||
Transformer as Transformer,
|
||||
TransformerError as TransformerError,
|
||||
TranslationContext as TranslationContext,
|
||||
TranslationContextLocation as TranslationContextLocation,
|
||||
TranslationContextTypes as TranslationContextTypes,
|
||||
TranslationError as TranslationError,
|
||||
Translator as Translator,
|
||||
autocomplete as autocomplete,
|
||||
check as check,
|
||||
CheckFailure as CheckFailure,
|
||||
Choice as Choice,
|
||||
choices as choices,
|
||||
command as command,
|
||||
context_menu as context_menu,
|
||||
default_permissions as default_permissions,
|
||||
describe as describe,
|
||||
guild_only as guild_only,
|
||||
guilds as guilds,
|
||||
locale_str as locale_str,
|
||||
rename as rename,
|
||||
)
|
||||
Reference in New Issue
Block a user