File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -240,7 +240,7 @@ async def register_commands(self) -> None:
240
240
type = i ["type" ],
241
241
)
242
242
cmd .id = i ["id" ]
243
- self .application_commands [cmd .id ] = cmd
243
+ self ._application_commands [cmd .id ] = cmd
244
244
245
245
# Permissions (Roles will be converted to IDs just before Upsert for Global Commands)
246
246
global_permissions .append ({"id" : i ["id" ], "permissions" : cmd .permissions })
@@ -275,7 +275,7 @@ async def register_commands(self) -> None:
275
275
for i in cmds :
276
276
cmd = find (lambda cmd : cmd .name == i ["name" ] and cmd .type == i ["type" ] and int (i ["guild_id" ]) in cmd .guild_ids , self .pending_application_commands )
277
277
cmd .id = i ["id" ]
278
- self .application_commands [cmd .id ] = cmd
278
+ self ._application_commands [cmd .id ] = cmd
279
279
280
280
# Permissions
281
281
permissions = [
You can’t perform that action at this time.
0 commit comments