Md Shahriyar Alam
2 months ago
To send welcome message to a user using custom 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 {server.name}")
If you also want to give a role on memebr join, Additionally use this code
pysend_dm(user, f"Welcome to {server.name}")
add_roles(user, role_id)
# Put the role id you want to give
Custom commsnds bot makes it super simple or non-coder users to be able to define their own logic into their commands
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#1 Custom commands discord bot available on the internet
20-22 Wenlock RoadEnglandN1 7GU
© WEiRDSOFT LTD. All rights reserved.