Browse Source

remove unneeded debug prints

tags/v1.4.1
Roxie Gibson 6 years ago
parent
commit
6bea8299d0
1 changed files with 0 additions and 4 deletions
  1. +0
    -4
      checks.py

+ 0
- 4
checks.py View File

@@ -20,11 +20,7 @@ def is_admin_or_mod():
else:
admin_roles = ServerConfig().load_config()[str(ctx.guild.id)]["perm_roles"]["admin"]
mod_roles = ServerConfig().load_config()[str(ctx.guild.id)]["perm_roles"]["mod"]
print(admin_roles)
print(mod_roles)
for role in ctx.author.roles:
print(role.id in mod_roles)
print(role.id in admin_roles)
if role.id in mod_roles or role.id in admin_roles:
return True
return False

Loading…
Cancel
Save