Setting up Dynamica on ServerPrism
Get your Dynamica bot running on ServerPrism to manage dynamic voice channels in your Discord server.
Dynamica is an easy-to-use bot that creates and manages dynamic voice channels in your Discord server. This guide covers setting up Dynamica on your ServerPrism instance.
Create your bot in Discord Developer Portal
- Go to the Discord Developer Portal.
- Click New Application.
- Give your application a name (e.g.,
Dynamica Bot) and click Create. - In the left sidebar, click Bot.
- Click Add Bot, then Yes, do it!
- Under TOKEN, click Reset Token, then Yes, do it! Copy this token immediately. You will need it later.
- Under Privileged Gateway Intents, ensure Message Content Intent is OFF. Dynamica does not require this intent.
Invite the bot to your server
- In the left sidebar, click OAuth2 > URL Generator.
- Under SCOPES, select
bot. - Under BOT PERMISSIONS, select the following:
Manage ChannelsMove MembersView ChannelsConnectSpeak
- Copy the generated URL at the bottom of the page.
- Paste the URL into your browser and press Enter.
- Select the Discord server you want to add the bot to and click Authorize.
Order on ServerPrism
You have already ordered your ServerPrism instance with the Dynamica runtime pre-installed. For Discord bots, 1 GB RAM is usually sufficient. Your instance is already deployed in your chosen region.
Configure startup variables
- Log in to your ServerPrism panel.
- Navigate to your Dynamica server.
- Click on the Startup tab.
- You will see several environment variables. Configure the following:
BOT_TOKEN: Paste the bot token you copied from the Discord Developer Portal.PREFIX: Set your desired command prefix. The default is!, but you can use?,.or any other character you prefer. For example,!.OWNER_ID: Enter your Discord user ID. To find your user ID, enable Developer Mode in Discord (User Settings > Advanced > Developer Mode), then right-click your username in Discord and selectCopy ID.
First start
- After configuring your startup variables, go to the Console tab in your ServerPrism panel.
- Click the Start button.
- Monitor the console output. A successful startup will show messages indicating the bot is connecting to Discord and is ready. You should see output similar to:
[INFO] Dynamica is online! [INFO] Logged in as Dynamica#1234 - Check your Discord server. The Dynamica bot should appear online in your member list.
Common issues
- Bot token rejected/Invalid Token: Double-check that you copied the token correctly from the Discord Developer Portal and pasted it into the
BOT_TOKENenvironment variable in the Startup tab without any extra spaces. - Bot is online but doesn't respond to commands: Ensure the
PREFIXvariable is set correctly and you are using the right prefix in Discord (e.g.,!help). Also, verify that the bot has the necessary permissions (Manage Channels,Move Members,View Channels,Connect,Speak) in your Discord server settings. - Bot doesn't show up online: The bot might have failed to start. Check the Console tab for error messages. Common issues include an incorrect
BOT_TOKENor network connectivity problems (though rare on ServerPrism).
Next steps
Once Dynamica is running, you can use its commands in your Discord server. Start by using !help (or your chosen prefix) to see available commands. Typically, you'll use !setchannel to designate a voice channel as your main dynamic channel, from which users can create new temporary voice channels.