File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1403,8 +1403,8 @@ class Bot(BotBase, Client):
1403
1403
1404
1404
.. versionadded:: 1.3
1405
1405
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.
1408
1408
1409
1409
.. versionadded:: 2.0
1410
1410
auto_sync_commands: :class:`bool`
Original file line number Diff line number Diff line change 2
2
from discord .commands import CommandPermission , SlashCommandGroup
3
3
from discord .ext import commands
4
4
5
- bot = discord .Bot (debug_guild = ..., owner_id = ...) # main file
5
+ bot = discord .Bot (debug_guilds = [ ...] , owner_id = ...) # main file
6
6
7
7
8
8
class Example (commands .Cog ):
You can’t perform that action at this time.
0 commit comments