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