Diskey Technical Documentation & Guide
Complete reference for bot setup, Discord permission matrix, language preferences, PWA installation, and FAQ.
Required Discord Permission Matrix
Every module in Diskey relies on specific Discord role permissions. Actions are automatically disabled if your bot lacks required bitwise permissions.
| Diskey Feature | Required Permission | Hierarchy Rules |
|---|---|---|
| Manage Roles | MANAGE_ROLES | Can only manage roles below the highest bot role. |
| Manage Channels | MANAGE_CHANNELS | Applies to text, voice, announcement, and forum channels. |
| Kick / Ban / Timeout | KICK_MEMBERS, BAN_MEMBERS | Cannot moderate guild owner or members with equal/higher role. |
| Broadcast & Embeds | SEND_MESSAGES, EMBED_LINKS | Requires send permission in each targeted channel. |
| Emojis & Stickers | MANAGE_GUILD_EXPRESSIONS | Slot limits are governed by guild Nitro boost tiers. |
Language Preferences & Localization
Diskey automatically detects your device language (English or Indonesian) on initial visit. You can override your preferred language anytime using the Language Switcher in the topbar or footer.
Selecting "Follow Device Language" deletes your explicit locale cookie, allowing Diskey to follow browser language headers dynamically without URL redirects.
Progressive Web App (PWA) Installation
Desktop (Chrome / Edge / Brave)
Click the "Install App" button in the topbar/footer or click the install icon in your browser address bar to run Diskey in a dedicated window.
Mobile (iOS & Android)
On iOS Safari: Tap Share -> "Add to Home Screen". On Android: Tap "Install App" to add Diskey directly to your home screen launcher.
Official Discord REST API v10 Constraints
Message Bulk Delete (14 Days)
Discord REST API restricts bulk deletion to messages younger than 14 days. Older messages must be deleted individually.
Privileged Gateway Intents
Listing server members requires Server Members Intent enabled in the Developer Portal.
Frequently Asked Questions (FAQ)
Does Diskey require a database?
No. Diskey is completely database-free. Your session is sealed in AES-256-GCM cookies communicating straight with Discord endpoints.
Why cannot my bot modify certain roles?
This is governed by Discord Role Hierarchy. Move your bot role above the roles you wish to manage in Discord Server Settings.