mirror of
https://github.com/TotalFreedomMC/TotalFreedomBot.git
synced 2024-12-22 15:44:57 +00:00
Update events.py
This commit is contained in:
parent
9c80a6e092
commit
ad7fabc80e
1 changed files with 6 additions and 1 deletions
|
@ -106,6 +106,11 @@ class Events(commands.Cog):
|
|||
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