Troubleshooting
Common issues and solutions for Lyx Discord bot.
Bot is Offline or Not Responding
Symptoms
- Bot shows "Offline" in Discord member list
- Slash commands don't respond
- No reaction to messages or events
Solutions
- Check status page: Visit lyx.lol/status for service health
- Check Discord status: Visit discordstatus.com for platform issues
- Verify bot in server: Ensure Lyx appears in your server's member list
- Re-invite bot: Kick and re-invite using the invite link
- Check permissions: Ensure Lyx has required permissions (see Required Permissions)
Commands Not Appearing
Symptoms
- Typing / shows no Lyx commands
- Commands work in some channels but not others
- New commands not showing after update
Solutions
- Wait for propagation: Global slash commands can take up to 1 hour to appear
- Check scope: Ensure invite included
applications.commandsscope - Channel permissions: Lyx needs "Use Slash Commands" in the channel
- Force sync: Bot owner can use
/lyx sync(owner only) - Try /help: Lists available commands if any are registered
Missing Permissions Errors
Symptoms
- "Missing Permissions" or "Missing Access" errors
- Commands fail with permission denied
- Bot can't perform actions it should
Solutions
- Check Lyx's role position: Server Settings → Roles → Drag Lyx role ABOVE roles it manages
- Verify your permissions: You need the same permission you're trying to use (e.g., Ban Members to ban)
- Check hierarchy: Cannot act on users with roles ≥ your highest role (except server owner)
- Channel overwrites: Check channel-specific permission overwrites
- Required permissions: See Required Permissions
Dashboard Login Issues
Symptoms
- Redirect loops after Discord OAuth
- "Invalid session" or "Unauthorized" errors
- Server selector shows "No servers found"
Solutions
- Clear cookies: Clear cookies for
lyx.lol,api.lyx.lol,help.lyx.lol - Use incognito: Test in private/incognito window
- Check permissions: You need "Manage Server" on a server with Lyx installed
- Re-authorize: Logout and login again
- Check bot presence: Ensure Lyx is in the server you're trying to manage
Settings Not Saving
Symptoms
- Changes revert after refresh
- Error toasts appear on save
- Loading spinner hangs indefinitely
Solutions
- Check error toasts: Read the error message for details
- Verify bot online: Settings require bot to be connected
- Check permissions: Lyx needs permissions for the feature you're configuring
- Some settings need restart: Dashboard will show notice if restart required
- Clear cache: Hard refresh (Ctrl+Shift+R / Cmd+Shift+R)
- Try API directly: Check api.lyx.lol/health
Missing Channel/Role Access
Symptoms
- Channel/role selectors show "No access"
- Can't select channels for welcome/logs
- Role selector empty or missing roles
Solutions
- Lyx needs View Channel: For channel selectors, Lyx must have "View Channel" in target channel
- Lyx needs Manage Roles: For role selectors, Lyx needs "Manage Roles" and role must be below Lyx's highest role
- Channel not deleted: Verify target channel still exists
- Role not managed: Integration-managed roles (Twitch, etc.) can't be selected
Auto-Moderation Issues
False Positives
- Increase
max_messagesortime_windowfor spam - Exempt active channels (
#bot-commands,#spam) - Adjust similarity threshold for duplicates
- Use word filter regex carefully:
(?i)badwordfor case-insensitive
Rules Not Triggering
- Check master auto-mod toggle is ON
- Verify specific rule is enabled
- Check channel/role not exempted
- Ensure Lyx has permissions (Manage Messages, Moderate Members)
- Test with
/automod statusand dashboard test panel
Actions Not Executing
- Delete → needs Manage Messages
- Warn/Timeout → needs Moderate Members
- Alert → needs Send Messages in log channel
Welcome Messages Not Sending
Checklist
- Welcome enabled:
/welcome setupshows enabled - Channel exists and Lyx has Send Messages + Embed Links
- Channel not in logging ignored channels
- Bot not rate limited (check status page)
- Test with
/welcome test - Placeholder spelling:
{user}not{username} - Embed color format:
#7c5cff(with #)
Logging Not Working
Checklist
- Master logging enabled
- Specific event category enabled (e.g.,
message_deletes) - Log channel not in ignored channels
- Triggering role not in ignored roles
- Lyx has Send Messages + Embed Links in log channel
- Log channel not deleted
- Test with
/logs test
Missing Content
- Message deletes: requires "Read Message History" permission
- Old messages: Lyx caches recent messages only
- Attachments: enable "Include Attachments" in settings
Common API Errors
| Error | Meaning | Solution |
|---|---|---|
| 401 Unauthorized | Invalid/expired session | Re-login to dashboard |
| 403 Forbidden | Insufficient permissions | Check Manage Server permission |
| 404 Not Found | Resource doesn't exist | Verify server/channel/role IDs |
| 422 Unprocessable | Validation failed | Check field requirements |
| 429 Too Many Requests | Rate limited | Wait and retry |
| 500 Internal Error | Server error | Check status page, contact support |
| 503 Service Unavailable | Maintenance mode | Wait for maintenance to complete |