mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-19 18:16:34 +01:00
Fix message loop
This commit is contained in:
parent
d361c4635c
commit
f207319944
1 changed files with 2 additions and 2 deletions
|
@ -198,11 +198,11 @@ class Events(commands.Cog):
|
|||
await message.reply("shut up", delete_after=3)
|
||||
await message.delete(delay=3)
|
||||
break
|
||||
if message.channel.can_send() and "ferdi" in message.content.lower():
|
||||
await message.reply("https://ferdi-is.gay/")
|
||||
# Stop responding to any bots
|
||||
if message.author.bot is True:
|
||||
return
|
||||
if message.channel.can_send() and "ferdi" in message.content.lower():
|
||||
await message.reply("https://ferdi-is.gay/")
|
||||
# Only respond if the message has content...
|
||||
if message.content:
|
||||
if message.channel.can_send(): # ... and we can send messages
|
||||
|
|
Loading…
Reference in a new issue