Skip to content
This repository has been archived by the owner on Sep 25, 2024. It is now read-only.

Latest commit

 

History

History
37 lines (25 loc) · 1.32 KB

README.md

File metadata and controls

37 lines (25 loc) · 1.32 KB

⚠️ ARCHIVED ⚠️

This project has been rewritten by the lead maintainer as a personal project.

Continuation

Oatmeal

workflow

This is the code repo for the Oatmeal discord bot in the 5183 Discord. You are welcome to use this code for whatever but no you won't get the token unless we screw up, so don't ask.

Download

Download a stable build from here.

Download a bleeding edge build from here. Click the most recent workflow run and download Oatmeal.jar found in the artifacts tab.

Configure

Set the bot token

Set an environment variable TOKEN="yourtokenhere"

OR

Run the .jar with the token as your argument.

OR

Change the value token in config.json to your token.

Set database credentials

Set the following environment variables accordingly: DATABASE_ADDRESS, DATABASE_PORT, DATABASE_USER, DATABASE_PASSWORD, DATABASE_NAME Currently only supports MariaDB (and it's forks), however more are planned to be added in the future, including SQLite.

Build

gradlew shadowJar

Find the .jar in build/libs/oatmeal-(version)-all.jar