fixing codacy detected issues

This commit is contained in:
Elmon11 2020-12-02 22:34:57 +01:00 committed by GitHub
parent 978a5bef94
commit 4d70239452
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,3 @@
import discord
from discord.ext import commands
server_liaison = 769659653096472634
@ -83,7 +81,7 @@ def is_liaison():
if role.id == server_liaison:
return True
else:
raise no_permission(['IS_SERVER_LIAISON'])
raise no_permission(['IS_SERVER_LIAISON'])
return commands.check(predicate)
def is_creative_designer():
@ -93,7 +91,7 @@ def is_creative_designer():
if role.id == creative_designer:
return True
else:
raise no_permission(['IS_CREATIVE_DESIGNER'])
raise no_permission(['IS_CREATIVE_DESIGNER'])
return commands.check(predicate)
def is_senior():