GodderE2D / octo

Octo πŸ‹ is a moderation and utilities Discord bot for Blue Shark River.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Octo πŸ‹

Octo is a moderation and utilities Discord bot for Blue Shark River.

Self-hosting

Unlike other open-source hosted Discord bots, we want to ensure self-hosting Octo is as easy as possible.

While Octo may not be the best fit for every server, we encourage you to try it out. While there are other bots specially made for self-hosting, Octo is a good starting point for many servers.

You don't need a huge amount of resources to host Octo. As it's a Discord bot and only running in a single server, you can host it in basically any VPS.

To self-host Octo, first download the latest release from GitHub.

git clone https://github.com/GodderE2D/octo.git && cd octo

Then, install all the necessary dependencies through Yarn v3. Don't have Yarn installed?

yarn

Octo uses PostgreSQL with Prisma as its primary database. Thus, you need a Postgres database to run Octo. To run a Postgres database locally, you can follow the official manual.

Once you have Postgres installed, copy the .env.example file to a new .env file and fill out your environment variables.

cp .env.example .env

After you filled out the .env file, push the Prisma schema to your database.

yarn prisma push

Finally, run the bot in development mode. It may take a few seconds to initially start up.

yarn dev

If you would like to run the bot in production mode, ensure that all environment variables that are required in production is filled out. Then, run the bot.

yarn start

About

Octo πŸ‹ is a moderation and utilities Discord bot for Blue Shark River.

License:Apache License 2.0


Languages

Language:TypeScript 100.0%