Merge branch 'feature-interactions' into feature-gems

This commit is contained in:
2022-04-21 15:38:53 +03:00
11 changed files with 650 additions and 113 deletions

View File

@@ -29,6 +29,10 @@ Best of luck with your studies!
@client.add_after_event('guild_join', priority=0)
async def post_join_message(client: cmdClient, guild: discord.Guild):
try:
await guild.me.edit(nick="Leo")
except discord.HTTPException:
pass
if (channel := guild.system_channel) and channel.permissions_for(guild.me).embed_links:
embed = discord.Embed(
description=message