mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-08 02:12:32 -05:00
Bump d.py version to 2.4.0 (#6401)
Co-authored-by: Ryan <yamikaitou@gmail.com>
This commit is contained in:
@@ -10,10 +10,12 @@ from discord.app_commands import (
|
||||
AllChannels as AllChannels,
|
||||
AppCommand as AppCommand,
|
||||
AppCommandChannel as AppCommandChannel,
|
||||
AppCommandContext as AppCommandContext,
|
||||
AppCommandError as AppCommandError,
|
||||
AppCommandGroup as AppCommandGroup,
|
||||
AppCommandPermissions as AppCommandPermissions,
|
||||
AppCommandThread as AppCommandThread,
|
||||
AppInstallationType as AppInstallationType,
|
||||
Argument as Argument,
|
||||
BotMissingPermissions as BotMissingPermissions,
|
||||
Command as Command,
|
||||
@@ -45,6 +47,8 @@ from discord.app_commands import (
|
||||
TranslationContextTypes as TranslationContextTypes,
|
||||
TranslationError as TranslationError,
|
||||
Translator as Translator,
|
||||
allowed_contexts as allowed_contexts,
|
||||
allowed_installs as allowed_installs,
|
||||
autocomplete as autocomplete,
|
||||
check as check,
|
||||
CheckFailure as CheckFailure,
|
||||
@@ -54,10 +58,14 @@ from discord.app_commands import (
|
||||
context_menu as context_menu,
|
||||
default_permissions as default_permissions,
|
||||
describe as describe,
|
||||
dm_only as dm_only,
|
||||
guild_install as guild_install,
|
||||
guild_only as guild_only,
|
||||
guilds as guilds,
|
||||
locale_str as locale_str,
|
||||
private_channel_only as private_channel_only,
|
||||
rename as rename,
|
||||
user_install as user_install,
|
||||
)
|
||||
|
||||
from . import checks as checks
|
||||
@@ -66,10 +74,12 @@ __all__ = (
|
||||
"AllChannels",
|
||||
"AppCommand",
|
||||
"AppCommandChannel",
|
||||
"AppCommandContext",
|
||||
"AppCommandError",
|
||||
"AppCommandGroup",
|
||||
"AppCommandPermissions",
|
||||
"AppCommandThread",
|
||||
"AppInstallationType",
|
||||
"Argument",
|
||||
"BotMissingPermissions",
|
||||
"Command",
|
||||
@@ -101,6 +111,8 @@ __all__ = (
|
||||
"TranslationContextTypes",
|
||||
"TranslationError",
|
||||
"Translator",
|
||||
"allowed_contexts",
|
||||
"allowed_installs",
|
||||
"autocomplete",
|
||||
"check",
|
||||
"CheckFailure",
|
||||
@@ -110,9 +122,13 @@ __all__ = (
|
||||
"context_menu",
|
||||
"default_permissions",
|
||||
"describe",
|
||||
"dm_only",
|
||||
"guild_install",
|
||||
"guild_only",
|
||||
"guilds",
|
||||
"locale_str",
|
||||
"private_channel_only",
|
||||
"rename",
|
||||
"user_install",
|
||||
"checks",
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user