Permission System
21 permission categories, BotRole, assignment, and Dashboard sync.
21 Permission Categories
All permissions are divided into categories: 1. mod — moderation (warn, mute, kick, ban, history) 2. economy — economy (emit, burn, transfer, freeze, balance) 3. currency — currencies (create, edit, delete) 4. guarantor — guarantors (assign, remove, dispute) 5. appeal — appeals (review mod/admin/owner) 6. corp — corporations (approve, reject, delete, edit, balance, tax) 7. shop — shop (create, edit, delete) 8. auction — auction (cancel, edit, delete) 9. casino — casino (settings, balance) 10. jobs — jobs (create, cancel, edit, extend) 11. duel — duels (cancel, resolve) 12. activity — activity (points.edit, settings) 13. ticket — tickets (respond, close, archive) 14. settings — settings (general, channels, modules, permissions) 15. logs — logs (economy, moderation, system, audit) 16. salary — salaries (create, edit, delete, list) 17. verification — verification (settings) 18. rolepicker — Role Picker (create, edit, delete) 19. stats — statistics (view, export) 20. referral — referrals (settings, view, view.all) 21. badge — badges (create, edit, delete, award, revoke) 22. reputation — reputation (view, edit, settings) Each category has a wildcard (category.*) for full access.
BotRole
BotRole is an internal bot role (not a Discord role). Created by admin with a set of permissions. Example: role 'Moderator' with permissions mod.warn, mod.mute, mod.kick. Create: Dashboard → Permissions → Create Role.
Assignment
BotRole is assigned to specific users. One user can have multiple roles. Permissions stack: if one role grants mod.warn and another mod.mute — the user has both. Setup: Dashboard → Permissions.
Dashboard Sync
Dashboard checks user permissions and shows only accessible pages. Example: without 'economy' permission, the user won't see the Economy page. Without 'settings' — won't see Settings. Each sidebar page is bound to a permission.
Server Owner
The server owner (guild owner) automatically has all permissions. This cannot be configured or disabled. Additionally: users with Discord ManageGuild permission are treated as bot admins (discordAdminFull).
Configuration
Dashboard → Permissions or /admin → Roles & Permissions. Actions: • Create BotRole with permissions • Assign BotRole to users • View current assignments • Delete roles