Skip to content

Commit 4cd2efb

Browse files
authored
Actually remove debug_guild
1 parent efeba22 commit 4cd2efb

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

discord/bot.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -699,12 +699,6 @@ def __init__(self, description=None, *args, **options):
699699
f"owner_ids must be a collection not {self.owner_ids.__class__!r}"
700700
)
701701

702-
if self.debug_guild:
703-
if self.debug_guilds is None:
704-
self.debug_guilds = [self.debug_guild]
705-
else:
706-
raise TypeError("Both debug_guild and debug_guilds are set.")
707-
708702
self._checks = []
709703
self._check_once = []
710704
self._before_invoke = None

0 commit comments

Comments
 (0)