Welcomer
Information
The welcomer module is a module that allows you to welcome new members to your server, or say goodbye to members who have left your server.
Configuration
The configuration options are located in the config.js
file under the welcomer
section inside the modules
object.
Options
config.js → modules → welcomer
welcomer: {
joiners: {
enabled: true, // Whether or not the bot will send a message when a user joins
channel_id: '1144165680514609173', // The ID of the channel where the joiner messages will be sent
message_content: 'Welcome {user}', // The message content that the bot will send when a user joins
embed_enabled: true, // Whether or not the bot will send an embed when a user joins
embed_title: 'Welcome {username}', // The title of the welcomer embed
embed_description: 'We hope you will have a great time here at **{server}**', // The description of the welcomer embed
embed_footer_text: '{username} is the {membercount}th member', // The footer of the welcomer embed
embed_footer_icon: '', // The footer icon of the welcomer embed
embed_author_name: '', // The author name of the responder embed
embed_author_icon: '', // The author icon of the responder embed
embed_author_url: '', // The author url of the responder embed
embed_color: '#00ff00', // The color of the welcomer embed
embed_timestamp: true, // Whether or not the welcomer embed will have a timestamp
embed_thumbnail: '', // The thumbnail of the welcomer embed
embed_image: '', // The image of the welcomer embed
embed_url: '', // The url of the responder embed
embed_fields: [], // The fields of the responder embed
},
joiners_dm: {
enabled: true, // Whether or not the bot will send a message when a user joins
channel_id: '1144165680514609173', // The ID of the channel where the joiner messages will be sent
message_content: 'Welcome to the server, {user}!', // The message content that the bot will send when a user joins
embed_enabled: true, // Whether or not the bot will send an embed when a user joins
embed_title: 'Welcome', // The title of the welcomer embed
embed_description: 'Welcome to the server, {user}!', // The description of the welcomer embed
embed_footer_text: 'Welcome to the server, {username}!', // The footer of the welcomer embed
embed_footer_icon: '', // The footer icon of the welcomer embed
embed_author_name: '', // The author name of the responder embed
embed_author_icon: '', // The author icon of the responder embed
embed_author_url: '', // The author url of the responder embed
embed_color: '#00ff00', // The color of the welcomer embed
embed_timestamp: true, // Whether or not the welcomer embed will have a timestamp
embed_thumbnail: '', // The thumbnail of the welcomer embed
embed_image: '', // The image of the welcomer embed
embed_url: '', // The url of the responder embed
embed_fields: [], // The fields of the responder embed
},
leavers: {
enabled: true, // Whether or not the bot will send a message when a user leaves
channel_id: '1144165680514609173', // The ID of the channel where the leaver messages will be sent
message_content: 'Goodbye, {username}!', // The message content that the bot will send when a user leaves
embed_enabled: true, // Whether or not the bot will send an embed when a user leaves
embed_title: 'Goodbye', // The title of the welcomer embed
embed_description: 'Goodbye, {username}!', // The description of the welcomer embed
embed_footer_text: 'Goodbye, {username}!', // The footer of the welcomer embed
embed_footer_icon: '', // The footer icon of the welcomer embed
embed_author_name: '', // The author name of the responder embed
embed_author_icon: '', // The author icon of the responder embed
embed_author_url: '', // The author url of the responder embed
embed_color: '#00ff00', // The color of the welcomer embed
embed_timestamp: true, // Whether or not the welcomer embed will have a timestamp
embed_thumbnail: '', // The thumbnail of the welcomer embed
embed_image: '', // The image of the welcomer embed
embed_url: '', // The url of the responder embed
embed_fields: [], // The fields of the responder embed
},
},
Placeholders
This is a list of all the placeholders that you can use in the configuration shown above.
Placeholder | Description |
---|---|
{user} | The user that joined/left |
{username} | The username of the user that joined/left |
{server} | The name of the server |
{membercount} | The amount of members in the server |
{userpfp} | The profile picture of the user |
Showcase
Welcomer example messages