From 6cf364bfa5bb99208ef7008880d3c5f39971f908 Mon Sep 17 00:00:00 2001 From: Dorukyum Date: Sun, 6 Feb 2022 18:38:22 +0300 Subject: [PATCH] Remove debug_guild references --- discord/bot.py | 4 ++-- examples/app_commands/slash_cog_groups.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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):