Getting Absolet running is a straightforward process: clone the repository, fill in a handful of values inDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/devjhoan/absolet/llms.txt
Use this file to discover all available pages before exploring further.
config/config.yml, and start the process. Slash commands register automatically on first boot, and a single /setup command walks you through enabling each feature inside your server.
Prerequisites
Make sure the following are in place before you begin:
- Node.js 18+ or Bun (Bun is recommended — all run scripts use it directly)
- A MongoDB instance — either a local MongoDB server or a free MongoDB Atlas cluster
- A Discord bot application created in the Discord Developer Portal with a bot token
Required Discord Gateway Intents
Absolet requires the following Gateway Intents to be enabled on your bot application in the Developer Portal. Navigate to your application → Bot → Privileged Gateway Intents and enable all three privileged intents:MessageContent(privileged)GuildMessagesGuildMessageReactionsGuildIntegrationsGuildMembers(privileged)GuildWebhooksGuildsGuildModerationGuildInvitesGuildPresences(privileged)GuildScheduledEventsGuildVoiceStates
Setup
Clone the repository and install dependencies
Clone the Absolet repository and install all dependencies using Bun:Bun reads
package.json and installs all runtime and dev dependencies, including discord.js, DisTube, Mongoose, and the canvas library.Configure config/config.yml
Open The required fields are:
config/config.yml and replace the placeholder values with your own:config/config.yml
| Field | Description |
|---|---|
GeneralSettings.Token | Your Discord bot token from the Developer Portal |
GeneralSettings.LicenseKey | Your Absolet license key |
GeneralSettings.EmbedColor | Hex color used in all bot embeds (default #E74C3C) |
DatabaseSettings.Uri | MongoDB connection string (local or Atlas) |
Optionally configure config/commands.yml
config/commands.yml controls which commands are active and who can use them. Every command entry has at least two fields:config/commands.yml
Enabled: false are never loaded and will not appear in Discord’s slash command menu. See the Configuration reference for the full list of available commands and their default permissions.Start the bot
Start Absolet with Bun:On a successful start you will see log lines for the database connection, loaded events, loaded commands, and finally confirmation that slash commands have been registered with Discord.
Resetting Slash Commands
If you need to wipe all registered slash commands and re-register from scratch — for example after changing which commands are enabled — pass the--reset-commands flag:
Bot Activity Configuration
The cycling status messages shown on your bot’s profile are driven by theActivitySettings block in config/config.yml:
config/config.yml
Activities is a three-element array:
| Index | Field | Accepted Values |
|---|---|---|
| 0 | Activity type | Watching, Playing, Listening |
| 1 | Activity text | Any string |
| 2 | Online status | online, dnd, idle |
Interval, which accepts any duration string understood by the ms library (e.g. "30s", "1m", "2h").