diff --git a/discord/bot.py b/discord/bot.py index f44946afa6..80f198e1c0 100644 --- a/discord/bot.py +++ b/discord/bot.py @@ -1403,8 +1403,8 @@ class Bot(BotBase, Client): .. versionadded:: 1.3 debug_guilds: Optional[List[:class:`int`]] - Guild IDs of guilds to use for testing commands. This is similar to debug_guild. - The bot will not create any global commands if a debug_guilds is passed. + Guild IDs of guilds to use for testing commands. + The bot will not create any global commands if debug guild IDs are passed. ..versionadded:: 2.0 auto_sync_commands: :class:`bool` diff --git a/examples/app_commands/slash_cog_groups.py b/examples/app_commands/slash_cog_groups.py index 13b5eab018..9e6710a39b 100644 --- a/examples/app_commands/slash_cog_groups.py +++ b/examples/app_commands/slash_cog_groups.py @@ -2,7 +2,7 @@ from discord.commands import CommandPermission, SlashCommandGroup from discord.ext import commands -bot = discord.Bot(debug_guild=..., owner_id=...) # main file +bot = discord.Bot(debug_guilds=[...], owner_id=...) # main file class Example(commands.Cog):