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
b0a1e8a747
commit
12b585c369
1 changed files with 3 additions and 3 deletions
|
@ -105,12 +105,12 @@ class Events(commands.Cog):
|
||||||
icon_url=get_avatar(message.author))
|
icon_url=get_avatar(message.author))
|
||||||
channel = message.guild.get_channel(self.bot.mentions_channel_id)
|
channel = message.guild.get_channel(self.bot.mentions_channel_id)
|
||||||
await channel.send(embed=embed)
|
await channel.send(embed=embed)
|
||||||
|
|
||||||
@commands.Cog.listener()
|
@commands.Cog.listener()
|
||||||
async def on_member_join(self, member):
|
async def on_member_join(self, member):
|
||||||
pass
|
pass
|
||||||
#await member.add_roles(self.bot.get_guild(self.bot.guild_id).get_role(self.bot.verification_role))
|
# await member.add_roles(self.bot.get_guild(self.bot.guild_id).get_role(self.bot.verification_role))
|
||||||
|
|
||||||
@commands.Cog.listener()
|
@commands.Cog.listener()
|
||||||
async def on_command_error(self, ctx, error):
|
async def on_command_error(self, ctx, error):
|
||||||
em = discord.Embed()
|
em = discord.Embed()
|
||||||
|
|
Loading…
Reference in a new issue