Answer the question
In order to leave comments, you need to log in
Discord python. Greeting error. Need help?
@client.event
async def on_member_join(member):
guild = member.guild
channel = guild.channel
retStr = str("""```yaml\nПривет!\nДобро пожаловать на наш сервер!\nНадеюсь тебе тут понравится.\nЕсли заблудешься пиши .help,кстати у нас все команды пишутся с .\nудачи тебе```""")
embed = discord.Embed(title="Welcome",colour=discord.Colour.blue())
embed.add_field(name="Привет",value=retStr)
await bot.send_message(channel, 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