diff options
author | Roman Gräf <roman.graef@gmail.com> | 2019-04-28 14:21:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-28 14:21:05 +0200 |
commit | 044142eb95301b70bc1fb2dab158b952f2badb09 (patch) | |
tree | d47b8ed92a76ce2e2b851566e018b60822ab952e /modules | |
parent | df26076b99388dabd36ee32a0182a1078a567661 (diff) | |
download | evalbot-044142eb95301b70bc1fb2dab158b952f2badb09.tar.gz evalbot-044142eb95301b70bc1fb2dab158b952f2badb09.tar.bz2 evalbot-044142eb95301b70bc1fb2dab158b952f2badb09.zip |
Update admin.py
You dont need to explictely extend from object.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/admin.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/admin.py b/modules/admin.py index c07b594..ee67aa7 100644 --- a/modules/admin.py +++ b/modules/admin.py @@ -73,7 +73,7 @@ async def handle_eval(message: discord.Message, client: discord.Client, to_eval: description="📥 Evaluation success: ```py\n%r\n```" % result)) -class AdminCog(commands.Cog, object): +class AdminCog(commands.Cog): def __init__(self, bot: commands.Bot): self.bot: commands.Bot = bot |