mirror of
https://github.com/TotalFreedomMC/TotalFreedomBot.git
synced 2024-12-22 15:44:57 +00:00
fixing codacy detected issues
This commit is contained in:
parent
978a5bef94
commit
4d70239452
1 changed files with 2 additions and 4 deletions
|
@ -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():
|
||||
|
|
Loading…
Reference in a new issue