Send welcome message using slash commands bot

Md Shahriyar Alam

4 days ago

To send welcome message to a user using slash commands bot, we have to create and Event Handler. Go to dashboard and click Events, Then click Create button

Then give the event any name and select MEMBER_JOIN on Trigger

Then write this code in Pre

pysend_dm(user, f"Welcome to {}")

If you also want to give a role on memebr join, Additionally use this code

pysend_dm(user, f"Welcome to {}")
add_roles(user, role_id)
# Put the role id you want to give

Need help?

If you still need any kind of help, have a suggestion for us or having a question in mind? Feel free to reach us out.

Join support server
logoCustom Commands

#1 Custom commands discord bot available on the internet

We Accept



20-22 Wenlock RoadEnglandN1 7GU

© WEiRDSOFT LTD. All rights reserved.