Skip to content

Commit bf309b7

Browse files
committed
Completely fixed
1 parent 84b1534 commit bf309b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

discord_slash/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def get_cog_commands(self, cog: commands.Cog):
114114
"func": None,
115115
"description": x.base_description,
116116
"auto_convert": {},
117-
"guild_ids": x.allowed_guild_ids,
117+
"guild_ids": x.allowed_guild_ids.copy(),
118118
"api_options": [],
119119
"has_subcommands": True
120120
}
@@ -407,7 +407,7 @@ def add_subcommand(self,
407407
_cmd = {
408408
"func": None,
409409
"description": base_description,
410-
"guild_ids": guild_ids,
410+
"guild_ids": guild_ids.copy(),
411411
"api_options": [],
412412
"connector": {},
413413
"has_subcommands": True

0 commit comments

Comments
 (0)