forked from viveksantayana/geas-bot
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)].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))
|
||||
|
||||
print(permissions)
|
||||
@cog_ext.cog_subcommand(
|
||||
base='config',
|
||||
# subcommand_group='role',
|
||||
|
Loading…
Reference in New Issue
Block a user