/crunchy-bot

The source code for Crunchy Bot#8304 on discord

Primary LanguageShell

crunchy-bot

A Discord bot made with nyxx and nyxx_commands!

Getting started

Development

This brick includes a devcontainer to make developing with Docker and docker-compose easier. Devcontainers allow you to have access to your other docker-compose services such as databases without having to run them manually on your host machine.

If you're using a devcontainer-compatible IDE, you can follow the setup instructions for that IDE:

Once you're ready to open your container, rename .env.example to .env and replace the placeholders with their real values. Then, you can open your project in the devcontainer:

Running your bot

To run your bot, make sure that you have set up your .env file correctly, then run docker compose up. Add the --build flag if you have made changes to your bot since the last time it started, and add the -d flag if you want it to run in the background.

To stop your bot, either press Ctrl+C if you didn't use the -d flag or run docker compose down.

Next steps

Now that you've created your project, here's what to do next: