Frost is a personal Discord bot. It handle music, booster roles, snowball fights, and more.
Ruby version 3.3, a PostgreSQL database, a Lavalink node, and Docker is needed to run the bot.
- Install the latest version of Ruby
This should be fairly self-explanatory. See here for instructions.
- Install dependencies
Simply do: bundle install
.
- Create the database in PostgreSQL
You'll need to be using PostgreSQL 14 or higher. If you want an easy solution, Neon is a great choice. Type the following into the PostgreSQL manager:
CREATE ROLE frost WITH LOGIN PASSWORD 'yourpasswordhere';
CREATE DATABASE frigid OWNER frost;
- Fill in configuration variables
Change the name of the example.yml
file to config.yml
and fill in all the variables. Change the name of lavalink.yml
to application.yml
and do the same.
# Discord related credentials.
Discord:
OWNER: "YOUR_ID_HERE"
TOKEN: "Bot TOKEN_HERE"
CONTRIBUTORS: []
# Information about the Lavalink node.
Lavalink:
ID: ""
URL: ""
TOKEN: ""
# Leaving this one undocumented.
Chapter:
ELEMENT: ""
LINK: ""
# Database related credentials.
Postgres:
URL: "postgres://URI_HERE"
Many of these variables are undocumented because the bot is meant for personal use.
- Run the bot
Either build the Dockerfile, or do: bundle exec ruby core.rb
.
I'm required to have one of these. No private information is stored.