aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorRoman Gräf <roman.graef@gmail.com>2019-04-28 14:20:16 +0200
committerGitHub <noreply@github.com>2019-04-28 14:20:16 +0200
commitdf26076b99388dabd36ee32a0182a1078a567661 (patch)
treefb46740c389c021082c1c35b8ef167594afc4549 /modules
parent75ba5cff463962d81089211011bd330edd519a6a (diff)
downloadevalbot-df26076b99388dabd36ee32a0182a1078a567661.tar.gz
evalbot-df26076b99388dabd36ee32a0182a1078a567661.tar.bz2
evalbot-df26076b99388dabd36ee32a0182a1078a567661.zip
Update execute.py
No need to inherit from object, reverted back to myself as global admin
Diffstat (limited to 'modules')
-rw-r--r--modules/execute.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/execute.py b/modules/execute.py
index 024c1ec..bdc4d3f 100644
--- a/modules/execute.py
+++ b/modules/execute.py
@@ -58,7 +58,7 @@ languages = {
}
-class ExecuteCog(commands.Cog, object):
+class ExecuteCog(commands.Cog):
def __init__(self, bot: Bot):
self.bot: Bot = bot
self.last_messaged = defaultdict(lambda: datetime.fromtimestamp(0))
@@ -92,7 +92,7 @@ class ExecuteCog(commands.Cog, object):
embed=Embed(
description=f"You are not allowed to eval code again. Check again in "
f"{(timedelta(seconds=30)-delta).seconds}secs"))
- if not author.guild_permissions.manage_messages and not author.id == 280766063472541697:
+ if not author.guild_permissions.manage_messages and not author.id == 310702108997320705:
self.last_messaged[author.id] = datetime.now()
language = languages[lang]
print(language)