Answer the question
In order to leave comments, you need to log in
Discord Bot how to make an invitation to the server?
When a person enters the server so that the bot sends "Welcome" and how to make it embed
@bot.event
async def on_member_join(member):
guild_id = member.guild.id
rez, greeting = get_greeting(779370708173193226)
embed = discord.Embed(color=3092790, title='<a:white_butterfly:783375896416485406> Встречаем нового участника!',
description=f' {member} Добро пожаловать! Чтобы легче было ориентироваться на сервере, прочитай [информацию](https://discord.gg/kqC2Ew2Jm9) и [правила](https://discord.gg/X4eCJAg4a9)')
embed.set_thumbnail(url=f'{member.avatar_url}')
embed.set_footer()
await channel.send(embed=embed)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question