mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-19 18:16:34 +01:00
Make the bot human because funny
This commit is contained in:
parent
f4c1896287
commit
ee946b1ca3
1 changed files with 7 additions and 0 deletions
|
@ -95,6 +95,13 @@ class Events(commands.Cog):
|
|||
if message.channel.permissions_for(message.guild.me).manage_messages:
|
||||
await message.delete(delay=1)
|
||||
|
||||
else:
|
||||
if message.bot is True:
|
||||
return
|
||||
if message.reference and message.reference.resolved and message.reference.resolved.author == self.bot.user:
|
||||
if message.content.lower() == "good bot":
|
||||
return await message.reply("Thank you! :D")
|
||||
|
||||
|
||||
def setup(bot):
|
||||
bot.add_cog(Events(bot))
|
||||
|
|
Loading…
Reference in a new issue