From 4c40f71d463e2f31fc58b3157e539ff969c1cc0c Mon Sep 17 00:00:00 2001 From: sgoudham Date: Thu, 21 Apr 2022 00:34:14 +0100 Subject: [PATCH] Remove code to manually set http client --- exclamation_mark_charity/modules/charity/cog.py | 1 - 1 file changed, 1 deletion(-) diff --git a/exclamation_mark_charity/modules/charity/cog.py b/exclamation_mark_charity/modules/charity/cog.py index ca7938e..736c496 100644 --- a/exclamation_mark_charity/modules/charity/cog.py +++ b/exclamation_mark_charity/modules/charity/cog.py @@ -15,7 +15,6 @@ class Charity(Extension): async def on_message_create(self, message: Message): if int(message.author.id) != int(self.bot.me.id): if message.content.strip() == "!charity": - message._client = self.bot.http channel = await message.get_channel() await channel.send("!charity") self.logger.info("!charity command fired!")