KurisuBot is a discord bot intent to run in a homelab server or similar. It is designed to be fast, reliable and with a small memory footprint. It is written in C++ and uses the discord API to interact with the server with the help of D++.
meson setup builddir
meson compile -C builddir && ./builddir/kurisubot
clang-format -i src/*.cpp
The token is a secret key that allows the bot to connect to the discord server. Here, we use a file called env.json
in the same folder the executable is in or pass it as an argument to the program.
env.json
should look like this:
{
"token": "your_token_here"
}
You can also pass the token as an argument to the program:
./kurisubot your_token_here
On linux systems:
sudo ./kurisubot & disown
Bot was tested on Ubuntu 22.04 Kernel: 6.5.0-26-generic