mirror of
https://github.com/TotalFreedomMC/TotalFreedomBot.git
synced 2024-12-22 15:44:57 +00:00
Fixed issue where bot processed commands twice
This commit is contained in:
parent
3a0aa1e251
commit
78d670aa09
1 changed files with 0 additions and 1 deletions
|
@ -53,7 +53,6 @@ class Events(commands.Cog):
|
|||
await message.delete()
|
||||
await message.channel.send(f"{message.author.mention} do not post invite links to other discord servers.")
|
||||
return
|
||||
await self.bot.process_commands(message)
|
||||
|
||||
@commands.Cog.listener()
|
||||
async def on_message_edit(self, before, after):
|
||||
|
|
Loading…
Reference in a new issue