A simple multipurpose bot for Discord. Also the very cutest Discord bot. Sakanaaa <3
For a list of features and other information please visit: https://takina.orangc.net.
We will assume that you have flakes enabled.
Add Takina to your inputs like so:
inputs.takina = {
url = "git+https://git.orangc.net/c/takina";
# optionally make takina follow your nixpkgs input (recommended)
inputs.nixpkgs.follows = "nixpkgs";
};You may now use our NixOS module:
services.takina = {
enable = true;
config = {
PREFIX = "?";
EMBED_COLOR = "0x2B2D31";
# you may also set TOKEN here, but we ***highly*** advise you not to
# as that would make your bot token publicly readable in the Nix store
# you can instead set it via services.takina.environmentFile
# which you set with a a path to a file
# containing TOKEN=abc
# we recommend using sops-nix/agenix for this
};
};Or even install the Takina package directly:
environment.systemPackages = [ inputs.takina."x86_64-linux".default ];
Happy nixxing!
Before proceeding, I am assuming that you have a running MongoDB database. The majority of Takina's functionality depends on a MongoDB instance being available. A guide on selfhosting MongoDB with Docker is available here, you can also consider using MongoDB Atlas or use the MongoDB server made in the docker compose file.
Assuming you have git and docker installed.
git clone https://github.com/orangci/takina && cd takina- Set all the required environment variables in the
.envfile. You can find a list of what those are in the.env.examplefile. You can leave most of them as their defaults, but you at a minimum must set theTOKEN(Discord bot token),HASDB=yes, andMONGO(your MongoDB URI.) docker build --tag 'takina' .docker run 'takina'
Assuming you have git and docker installed.
git clone https://github.com/orangci/takina && cd takina- Set all the required environment variables in the
docker-compose.ymlfile. You can find a list of what those are in thedocker-compose.ymlfile, don't forget to make a.envfile for the passwords or tokens as well! You can find out which enviroment variables need to go to the.envfile if its for example${TOKEN}. docker compose up -d
Please see CONTRIBUTING.md.
- This project follows the Semantic Versioning 2.0.0 specification as of 14.04.2025. You may see the current version and changelog here.
- This project follows the Conventional Commits specification as of 01.10.2024.