This code is now archived, most if not all functionality can be found in V2.
Dynamica, a bot designed to replicate the features of the Auto Voice Channels bot which has reached end of life. It dynamically assigns voice channels and renames them based on the current activity.
There are a few different ways to run this bot:
-
Let me run the bot for you. Invite Link
-
Clone the repository and run
yarn
,yarn prisma migrate deploy
,yarn build
thenyarn start
. This will store the database files in theconfig
directory. To update simplygit pull
then runyarn prisma migrate deploy
and thenyarn start
. -
The docker image. The easiest way to run this bot would be to either clone the repository and then run
docker-compose up -d
.
For both of the above deployment methods there are a few environment variables that need to be set.
- TOKEN - This is the discord bot token.
- CLIENT_ID - The bot's application or client id.
- GUILD_ID - The Id of the guild where the bot will be running in. (optional)
- MQTT_URL - URL of an mqtt server to report basic stats to (optional)
- MQTT_USER - MQTT server username (optional)
- MQTT_PASS - MQTT server password (optional)
In order to work correctly the bot needs to be able to read the presence of guild members. Discord has limitted this functionality with Privileged Gateway Intents. You need to enable the following intents for the bot to work correctly:
- Presence Intent - So that the bot can read user activities and change the channel name based on that
To add the slash commands to your own servers just run the bot.