Server Management & Automation
Welcome & Goodbye System
Automatically greet joining members in server channels or DMs and send departure notices with /testwelcome and dashboard controls.
1. Feature Overview
The Welcome & Goodbye System sends automated greeting embeds, customizable text placeholders, optional visual cards, and Direct Message welcomes when new users join—plus optional departure notices when members leave.
2. How Welcome & Goodbye System Works
On guildMemberAdd and guildMemberRemove events, Fusion Bot checks welcomeEnabled, byeEnabled, and welcomeDmEnabled in MongoDB, resolves template placeholders ({user}, {server}, {count}), and dispatches the formatted greeting or card image to your chosen channel.
3. Required Permissions
- Server Member / Staff Permissions: Administrator or Manage Server (for dashboard setup & /testwelcome)
- Fusion Bot Permissions: View Channel, Send Messages, Embed Links, Attach Files
4. Setup Instructions
-
Open Welcome Panel or Sunday AISign in to https://panel.fusionhub.in/dashboard and select Welcome & Goodbye (or ask Sunday AI).
-
Toggle & Select Target ChannelsEnable
welcomeEnabled/byeEnabledand pick your welcome and goodbye text channels. -
Customize Text & Test LiveWrite your message template using
{user}and{server}, save changes, and run/testwelcomein Discord.
5. Dashboard Configuration
All toggles (welcomeEnabled, byeEnabled, welcomeDmEnabled, welcomeCardEnabled, byeCardEnabled), channel selectors, custom copy, and card images live inside the Welcome & Goodbye view.
6. Supported Commands
| Command | Parameters | Required Role | Description |
|---|---|---|---|
/testwelcome | None | Administrator | Renders and posts a live preview of your active welcome banner and text in the current channel. |
7. Configuration Options
| Option / Setting | Default | Description |
|---|---|---|
welcomeEnabled / byeEnabled | false | Master toggles for join and leave channel announcements. |
welcomeDmEnabled | false | Sends an automated welcome DM when a new user joins. |
welcomeChannel / byeChannel | empty | Target channel Snowflake IDs for join/leave messages. |
welcomeDesc / byeDesc | empty | Custom template supporting {user}, {server}, and {count}. |
8. Practical Examples
Welcome {user} to {server}! Please read #rules — you are member #{count}.
/testwelcome
9. Recommended Settings
- Send welcomes to a dedicated landing channel rather than general staff chat.
- Keep DM welcomes optional and friendly—avoid overloading new joins with multiple links.
10. Known Limitations
- Members who disable Direct Messages from server members in their Discord privacy settings will not receive DM welcomes (Discord API restriction).
11. Common Errors
| Symptom / Error | Cause | Resolution |
|---|---|---|
| Welcome card not posted on member join | <code>welcomeEnabled</code> is off, or bot lacks <code>Attach Files</code> permission in the channel. | Verify toggle on dashboard and allow <code>Send Messages</code> + <code>Attach Files</code> in channel overrides. |
| Placeholders render literally | Typo in variable name (e.g. <code>{username}</code> instead of <code>{user}</code>). | Use supported tokens <code>{user}</code>, <code>{server}</code>, and <code>{count}</code>. |
12. Troubleshooting
- Run
/testwelcomeinside the target channel to surface immediate permission errors cleanly. - Confirm the saved
welcomeChannelID still exists and was not recreated.