Troubleshooting
Common problems, their solutions and performance tips.
Troubleshooting
Section titled “Troubleshooting”Common Issues
Section titled “Common Issues”Bot Not Responding
Section titled “Bot Not Responding”- Verify bot token is correct
- Ensure bot is online and has proper permissions
- Check bot is invited to your Discord server
Role Permissions Not Working
Section titled “Role Permissions Not Working”- Confirm role IDs are correct
- Verify bot has been given the required permission
- Verify the guild names match between the scripts, if applicable.
- Verify the role names match between the scripts.
Resource Dependencies
Section titled “Resource Dependencies”- Ensure Discord API loads before dependent resources
- Check server.cfg load order
Error Messages
Section titled “Error Messages”| Error | Solution |
|---|---|
Discord API not found |
Check resource name in server.cfg |
Invalid bot token |
Verify token format and validity |
Guild not found |
Confirm guild ID and bot membership |
Debug Mode
Section titled “Debug Mode”Enable debug logging by setting Discord_API_Log_Level = 1 in your config to see detailed API request information.
Performance Optimization
Section titled “Performance Optimization”Best Practices
Section titled “Best Practices”- Use your own custom bot token, which is not used for any other purposes.
Monitoring
Section titled “Monitoring”- Check F8 console for error messages
- Monitor the txAdmin console for the Discord API status & installation feedback.