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.
2 parents 59d57e0 + 848734f commit 4ddbb84Copy full SHA for 4ddbb84
discord_slash/client.py
@@ -303,7 +303,7 @@ async def to_dict(self):
303
}
304
if y in selected.permissions:
305
command_dict["permissions"][y] = selected.permissions[y]
306
- wait[y][x] = copy.deepcopy(command_dict)
+ wait[y][_x] = copy.deepcopy(command_dict)
307
else:
308
if "global" not in wait:
309
wait["global"] = {}
@@ -314,7 +314,7 @@ async def to_dict(self):
314
"permissions": selected.permissions or {},
315
"type": selected._type,
316
317
- wait["global"][x] = copy.deepcopy(command_dict)
+ wait["global"][_x] = copy.deepcopy(command_dict)
318
319
continue
320
0 commit comments