8. D3fenders Alert Network Setup & Troubleshooting
Last updated
Last updated
Join D3fenders server and open a ticket to apply to join the D3fenders Alert Network. Once accepted we will give you the invite link.
Open the link → choose your Discord server → Authorize.
Make sure the bot shows up in your member list (online).
Permissions the bot requests
View Channel
Send Messages
Embed Links
Attach Files
Add Reactions
Use External Emoji
Manage Messages (to pin its button)
Mention Everyone (needed to ping your alert‑role)
Read Message History
Use Slash Commands
Server Settings → Roles → Create Role
Name it something like @security alert.
Put it in the list where you want.
⚙️ Permissions: none are strictly required; it’s just for pinging.
(If you already have a security‑ping role, skip this step.)
Channel
Purpose
Suggested perms
#security‑reports
Where staff click the “Submit Security Alert” button.
Staff + mods: Send; Everyone: View or hidden
#security‑alerts
Where embeds + pings are broadcast.
Everyone: View; only bot: Send
(Channel names are examples—use whatever fits your server.)
Enable Developer Mode (User Settings → Advanced).
What to copy
How
#security‑reports channel ID
Right‑click channel → Copy ID
#security‑alerts channel ID
Right‑click channel → Copy ID
@security alert role ID
Right‑click role → Copy ID
Paste them somewhere—each is a long number like 123456789012345678.
In any channel where you have permission send the slash command:
/setupalert
You’ll see a modal—fill it like:
Field
Paste
Report Channel ID
ID of #security‑reports
Alert Channel ID
ID of #security‑alerts
Notification Role ID
ID of @security alert
Submit → bot responds “✅ Setup complete!” and pins a 🛡️ Submit Security Alert button in #security‑reports.
Click 🛡️ Submit Security Alert.
Fill out “What Happened?” and “What Should Others Do?”.
Press Submit.
Result in #security‑alerts:
🛑 Embed with incident details
@security alert — @YourName submitted a new alert. Thank you for keeping the community safe!
(The same alert simultaneously appears in every other guild that has configured the bot, creating a cross‑server security network.)
Command
When to use
/postbutton
Re‑post the Submit Alert button if it was deleted or the report channel was changed.
/setupalert again
Re‑run setup if you move channels or change the ping role.
Your server is now connected to the D3fenders Security Alert Network. Moderators can file incidents in seconds; every linked community sees them instantly.
If something doesn’t work, ping a D3fenders staff member or open a support ticket.
Use this guide when setting up the bot or encountering issues with submitting or broadcasting security alerts.
1. Verify Configuration with Debug Commands
!debugconfig
Purpose: Check what this guild’s saved IDs are.
Usage:
What you’ll see:
If you see any None
, that server hasn’t been fully set up or lost its settings—run /setupalert
once to restore.
!dumpconfigs
Purpose: List every guild the bot knows about and their IDs.
Usage:
What you’ll see:
If it returns “No guild configs found,” you need to run /setupalert
in each guild at least once.
2. Bot Isn’t Responding to Setup or Commands
Possible Causes:
• Missing required permissions
• Bot was added without full scope
• Bot was quarantined by another security bot
Fixes:
• Ensure the bot was invited with this link:
• Make sure the bot is not muted, quarantined, or banned by your internal security bots.
• Confirm the bot shows up in the Member List of your server.
3. “No Valid Admin Roles Found” During Setup
Cause:
• Admin role IDs or mentions were input incorrectly.
• Discord role hierarchy is preventing recognition.
Fixes:
• Make sure you are pasting either:
• A role mention (e.g., @Mod Team)
• A numeric role ID (right-click the role > “Copy ID”)
• Confirm the bot’s role is higher than the roles you’re assigning as admin.
4. Alerts Aren’t Appearing in the Announcement Channel
Cause:
• The announcement channel does not have correct permissions.
• The channel was entered incorrectly during setup.
Fixes:
• Double-check the channel input in setup — use:
• Channel mentions (e.g., #security-alerts)
• Or numeric channel ID
• Verify the bot has permissions in that channel:
• View Channel
• Send Messages
• Embed Links
• Mention Roles
• Add Reactions
5. Submit Button Doesn’t Show Up in Report Channel
Cause:
• Bot lacks permission to post messages or embeds in the report channel.
• Channel setup was incomplete.
Fixes:
• Verify that the report channel has the following permissions:
• For the bot role:
• View Channel
• Send Messages
• Use Slash Commands
• Embed Links
• If needed, run the /setup command again to fix the configuration.
6. “This Interaction Failed” When Clicking the Button
Cause:
• Channel is missing Send Messages or Create Interaction permissions.
• The modal submission is blocked due to validation error.
Fixes:
• Ensure the bot has all required permissions in the report channel.
• Make sure all users clicking the button have permission to interact with modals (and have an eligible role, if applicable).
• If the modal fields are too long (e.g., label > 45 characters), a new version may have fixed this — please update the bot.
7. The Bot Is in the Server, But Nothing Works
Checklist:
• Bot is online and responding to /commands
• Bot is not in quarantine
• Bot has administrator or full required permissions
• Channels were correctly referenced by ID or mention
• Roles were properly mentioned or added by ID
• /setup was successfully completed (and not interrupted)
8. Final Tip: Always Confirm Permissions
For all involved channels and roles, the bot should have:
• View Channels
• Send Messages
• Embed Links
• Add Reactions
• Mention @roles
• Use Slash Commands
• Manage Messages (optional but recommended)