This is a discord bot for roleplay. Inspired by PluralKit!
You can add the bot to the server with this link
And you can join our support sever too!
Or keep reading for self-hosting options
- Clone the repo:
git clone https://github.com/PlatypodeCode/CinnamonRoll.git
- Create
config.json
in the same directory assample-config.json
(see for the layout), and set bot token:cp sample-config.json config.json
- Build the bot:
docker-compose build
- Run it:
docker-compose up -d
- Clone the repo:
git clone https://github.com/PlatypodeCode/CinnamonRoll.git
- Run
npm install
to install dependencies - Create
config.json
in the same directory assample-config.json
(see for the layout), and set bot token:cp sample-config.json config.json
- Run a mongo database on localhost and set the database URI in config.json to
mongo://localhost
(or wherever your mongo instance is running) - Run
node bot/main.js
from the top of the directory to run the bot
This bot uses a JSON file for configuration. The elements are explained below. owner
and logChannel
are optional.
defaultPrefix
- default prefix that the bot sets on first-time setuptoken
- Bot token from Discorddb
- Database URI pointing to a mongoDB instanceidCharacters
- A string of characters that unique IDs will be generated fromidLength
- Number of characters to generate IDs withowner
- Object containing Discord user ID and name of the bot owner (or anyone you want to grant superuser permission for)id
- The 18-digit user IDname
- Name to display (can be left blank)
logChannel
- Discord channel ID where you want tracebacks to be posted (make sure this is private!)
discord.js
11.5.0 and upmongoose
5.5.8 and up