Skip to content

Commit 6fb972d

Browse files
authored
Merge pull request #945 from Dorukyum/remove-debug_guild
Remove debug_guild references
2 parents 1ebf3ab + 6cf364b commit 6fb972d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

discord/bot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1403,8 +1403,8 @@ class Bot(BotBase, Client):
14031403
14041404
.. versionadded:: 1.3
14051405
debug_guilds: Optional[List[:class:`int`]]
1406-
Guild IDs of guilds to use for testing commands. This is similar to debug_guild.
1407-
The bot will not create any global commands if a debug_guilds is passed.
1406+
Guild IDs of guilds to use for testing commands.
1407+
The bot will not create any global commands if debug guild IDs are passed.
14081408
14091409
.. versionadded:: 2.0
14101410
auto_sync_commands: :class:`bool`

examples/app_commands/slash_cog_groups.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from discord.commands import CommandPermission, SlashCommandGroup
33
from discord.ext import commands
44

5-
bot = discord.Bot(debug_guild=..., owner_id=...) # main file
5+
bot = discord.Bot(debug_guilds=[...], owner_id=...) # main file
66

77

88
class Example(commands.Cog):

0 commit comments

Comments
 (0)