This page details commands for the Welcome module of LDU2. If you need any help, feel free to join the discord server!
Setup Commands
This section contains all the commands you might need to set up the welcome module to your server's needs. The required permissions are noted in brackets. All command permissions can be edited in Discord's commands menu in server settings.
/set_welcome_channel [channel] (manage_channels)
This command sets where join/leave messages are sent. If it is not set, no messages will be send. Use /disable_welcome_channel to unset it.
Example: /set_welcome_channel #hello-and-goodbye
/set_join_message [message] (manage_channels)
This command sets the message that will be sent in the given channel (if set) whenever a new member joins. See below for more information about {tokens} that you can use to dynamically generate messages.
Example: /set_join_message "Welcome to {guildname}, {mention}!"
/set_leave_message [message] (manage_channels)
This command sets the message that will be sent in the given channel (if set) whenever a new member leaves. See below for more information about {tokens} that you can use to dynamically generate messages.
Example: /set_leave_message "{username} left the server out of their own free will"
Template & Token info
There are a number of "tokens" that will be automatically replaced by user- or server-specific data.
| Token | Description | Example |
|---|---|---|
| {mention} | This will substitute a mention for the given user. | @Test User |
| {username} | This will substitute the given user's username. | test_user |
| {displayname} | This will substitute the given user's displayname or nickname, if they have one. | Test User |
| {guildname} {servername} |
This will substitute the guild's name. | Gamer Girl Server |
| {br} | This will substitute a line break. |
All tokens except {mention} can be suffixed with _lower to force them lowercase (i.e. {guildname_lower}).
If you have any suggestions for additional tokens, please join the discord server at the top of the page!