We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84b1534 commit bf309b7Copy full SHA for bf309b7
discord_slash/client.py
@@ -114,7 +114,7 @@ def get_cog_commands(self, cog: commands.Cog):
114
"func": None,
115
"description": x.base_description,
116
"auto_convert": {},
117
- "guild_ids": x.allowed_guild_ids,
+ "guild_ids": x.allowed_guild_ids.copy(),
118
"api_options": [],
119
"has_subcommands": True
120
}
@@ -407,7 +407,7 @@ def add_subcommand(self,
407
_cmd = {
408
409
"description": base_description,
410
- "guild_ids": guild_ids,
+ "guild_ids": guild_ids.copy(),
411
412
"connector": {},
413
0 commit comments