@@ -687,9 +687,6 @@ def __init__(self, description=None, *args, **options):
687
687
self .owner_id = options .get ("owner_id" )
688
688
self .owner_ids = options .get ("owner_ids" , set ())
689
689
690
- self .debug_guild = options .pop (
691
- "debug_guild" , None
692
- ) # TODO: remove or reimplement
693
690
self .debug_guilds = options .pop ("debug_guilds" , None )
694
691
695
692
if self .owner_id and self .owner_ids :
@@ -702,12 +699,6 @@ def __init__(self, description=None, *args, **options):
702
699
f"owner_ids must be a collection not { self .owner_ids .__class__ !r} "
703
700
)
704
701
705
- if self .debug_guild :
706
- if self .debug_guilds is None :
707
- self .debug_guilds = [self .debug_guild ]
708
- else :
709
- raise TypeError ("Both debug_guild and debug_guilds are set." )
710
-
711
702
self ._checks = []
712
703
self ._check_once = []
713
704
self ._before_invoke = None
@@ -1086,17 +1077,10 @@ class Bot(BotBase, Client):
1086
1077
for the collection. You cannot set both ``owner_id`` and ``owner_ids``.
1087
1078
1088
1079
.. versionadded:: 1.3
1089
- debug_guild: Optional[:class:`int`]
1090
- Guild ID of a guild to use for testing commands. Prevents setting global commands
1091
- in favor of guild commands, which update instantly.
1092
- .. note::
1093
-
1094
- The bot will not create any global commands if a debug_guild is passed.
1080
+
1095
1081
debug_guilds: Optional[List[:class:`int`]]
1096
1082
Guild IDs of guilds to use for testing commands. This is similar to debug_guild.
1097
- .. note::
1098
-
1099
- You cannot set both debug_guild and debug_guilds.
1083
+ The bot will not create any global commands if a debug_guilds is passed.
1100
1084
"""
1101
1085
1102
1086
pass
0 commit comments