Update events.py

This commit is contained in:
Elmon11 2021-03-30 00:58:32 +02:00 committed by GitHub
parent 9c80a6e092
commit ad7fabc80e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -105,7 +105,12 @@ class Events(commands.Cog):
icon_url=get_avatar(message.author))
channel = message.guild.get_channel(self.bot.mentions_channel_id)
await channel.send(embed=embed)
@commands.Cog.listener()
async def on_member_join(self, member):
pass
#await member.add_roles(self.bot.get_guild(self.bot.guild_id).get_role(self.bot.verification_role))
@commands.Cog.listener()
async def on_command_error(self, ctx, error):
em = discord.Embed()