0

Discord.py welcome message in dms

Why is the following code not working? :( the bot connects with the server and recognises the guild id etc. so that can’t be the issue. @client.event async def on_member_join(member): dm = await member.create_dm() await dm.send("content")

21st Apr 2022, 9:49 AM
Loku
2 Antworten
+ 1
I don't think we have a discord bot class here, so asking here may not be that helpful. However, you can join the discord.py community here https://discord.gg/r3sSKJJ. I think you will get better results.
21st Apr 2022, 5:47 PM
Chris Coder
Chris Coder - avatar
+ 1
Thank you :)
21st Apr 2022, 6:14 PM
Loku