Debug
This commit is contained in:
parent
89a92586ff
commit
a772c06313
@ -22,7 +22,7 @@ class Configuration(commands.Cog, name='Configuration Commands'):
|
|||||||
permissions[int(gStr)] = []
|
permissions[int(gStr)] = []
|
||||||
permissions[int(gStr)].append(create_permission(id=conf[gStr]['owner'],id_type=SlashCommandPermissionType.USER,permission=True))
|
permissions[int(gStr)].append(create_permission(id=conf[gStr]['owner'],id_type=SlashCommandPermissionType.USER,permission=True))
|
||||||
for admin in conf[gStr]['roles']['admin']: permissions[int(gStr)].append(create_permission(id=admin,id_type=SlashCommandPermissionType.ROLE,permission=True))
|
for admin in conf[gStr]['roles']['admin']: permissions[int(gStr)].append(create_permission(id=admin,id_type=SlashCommandPermissionType.ROLE,permission=True))
|
||||||
|
print(permissions)
|
||||||
@cog_ext.cog_subcommand(
|
@cog_ext.cog_subcommand(
|
||||||
base='config',
|
base='config',
|
||||||
# subcommand_group='role',
|
# subcommand_group='role',
|
||||||
|
Loading…
Reference in New Issue
Block a user