Remove code to manually set http client

main
sgoudham 3 years ago
parent 5c727ee35d
commit 4c40f71d46
Signed by: hammy
GPG Key ID: 44E818FD5457EEA4

@ -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!")

Loading…
Cancel
Save