mirror of
https://github.com/TotalFreedomMC/TotalFreedomBot.git
synced 2024-12-22 07:34:57 +00:00
Update events.py
This commit is contained in:
parent
9c80a6e092
commit
ad7fabc80e
1 changed files with 6 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue