Skip to content
Welcome Discord Bot Python
Profile icon

Hello there! I'm trying to code a bot that sends welcome embed when a member joins the server, but i'm having trouble figuring out the coding for it. If anyone could help that would be great!

P.S Im trying to achieve a likewise welcome messages as that of carl bot if that makes sense :)

You are viewing a single comment. View All
Profile icon

Thank you! But what im trying to do is have an embed send instead of a message like this but i dont think my coding is correct

async def on_join(member):
guild = bot.get_guild(836304285545398272)
channel = client.get_channel(843182724255580201)
embed=discord.Embed(title="Welcome To Tryhards", description="Hello {user(proper)} To The 'Name' Server. Please Read the Rules in #𝐑𝐮𝐥𝐞𝐬 , and Grab Some Roles in #𝐑𝐨𝐥𝐞𝐬 .")
embed.set_footer(text="Made by Sawyer")
await channel.send(embed=embed)