Took away last line in Cog

pull/4/head
sgoudham 5 years ago
parent a386e16cc9
commit 69a175c0a9

@ -15,7 +15,7 @@ class Verification(commands.Cog):
@commands.Cog.listener()
async def on_message(self, message):
# Making sure that the bot doesn't reply to itself
if message.author == self.bot.user:
if message.author == self.bot:
return
# Defining the message content in a variable
@ -52,8 +52,6 @@ class Verification(commands.Cog):
else:
await message.delete()
await self.bot.process_commands(message)
# Allowing people to get ping-able self roles
@command(name="verification")
@is_owner()

Loading…
Cancel
Save