You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
f"The snowflake IDs {guild_ids} given are not a list of integers. Because of discord.py convention, please use integer IDs instead. Furthermore, the command '{name}' will be deactivated and broken until fixed."
661
661
)
662
+
663
+
ifnameinself.commands["context"]:
664
+
tgt=self.commands["context"][name]
665
+
ifnottgt.has_subcommands:
666
+
raiseerror.DuplicateCommand(name)
667
+
has_subcommands=tgt.has_subcommands
668
+
forxintgt.allowed_guild_ids:
669
+
ifxnotinguild_ids:
670
+
guild_ids.append(x)
662
671
663
672
_cmd= {
664
673
"default_permission": None,
@@ -866,11 +875,8 @@ async def _pick(ctx, choice1, choice2): # Command with 1 or more args.
0 commit comments