From 044142eb95301b70bc1fb2dab158b952f2badb09 Mon Sep 17 00:00:00 2001 From: Roman Gräf Date: Sun, 28 Apr 2019 14:21:05 +0200 Subject: Update admin.py You dont need to explictely extend from object. --- modules/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') 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 -- cgit