Formats the code blocks of a message using Discord context menus.
If you wish to invite the bot to your server, you can do it using this invite
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Get the Docker version you need here!
Since this bot has a docker-compose.yml file and is hosted on DockerHub, all you need to start your own version of Formatbot locally is to clone
this repository and set up the .env file.
The .env file is used to configure the bot token and owner id, in the following format:
DISCORD_TOKEN=<insert token>
OWNER=<insert owner id>
$ cp .env.example .env
> Copy-Item .env.example .env
Edit the .env file with your favourite editor, filling out the following properties:
https://discord.com/developers/applications/bot-id/bot
for an overview of all your bots visit https://discord.com/developers/applications)Run the bot via docker-compose
$ docker-compose up --build --detach
Create the .env
file like before.
Then run yarn && yarn dev
to start a development environment.
Give a ⭐️ if this project helped you!
Generated using TypeDoc