From 4d70239452cb278f175b030269320d9ef598d343 Mon Sep 17 00:00:00 2001 From: Elmon11 Date: Wed, 2 Dec 2020 22:34:57 +0100 Subject: [PATCH] fixing codacy detected issues --- checks.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/checks.py b/checks.py index ec76b03..3f22d95 100644 --- a/checks.py +++ b/checks.py @@ -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():