Answer the question
In order to leave comments, you need to log in
on_member_join not working, how to fix?
#hi
@client.event
async def on_member_join(member):
print(f'{member.mention} has joined the server.')
channel = client.get_channel(919319558202998855)
await channel.send(f'{member.mention} Welcome To The Club Buddy!')
await channel.send(' https://tenor.com/beeFU.gif ')
~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
You need to send 2 messages: greeting, gif (in a separate message)
Answer the question
In order to leave comments, you need to log in
@client.event
async def on_member_join(member):
print(f'{member.mention} has joined the server.')
channel = client.get_channel(919319558202998855)
join = discord.Embed(description=f"{member.mention} Welcome To The Club Buddy!", color=discord.Colour.random())
join.set_image(url="https://tenor.com/beeFU.gif")
await channel.send(embed=join)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question