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 bbde60a commit 84b1534Copy full SHA for 84b1534
discord_slash/client.py
@@ -257,11 +257,11 @@ async def to_dict(self):
257
if sub_sub.allowed_guild_ids:
258
for i in sub_sub.allowed_guild_ids:
259
if i not in queue:
260
- queue[i] = base_dict
+ queue[i] = copy.deepcopy(base_dict)
261
queue[i]["options"].append(_dict)
262
else:
263
if "global" not in queue:
264
- queue["global"] = base_dict
+ queue["global"] = copy.deepcopy(base_dict)
265
queue["global"]["options"].append(_dict)
266
for i in queue:
267
wait[i][x]["options"].append(queue[i])
0 commit comments