A Discord bot done right. No bullshit like pay- or votewalls.
This is the rewrite for Kayano (now Tako). Before the rewrite it was written in JavaScript/Node.js with the Discord.js Library. But now it’s written in Python with the discord.py Library. We have made some very great improvements and we hope you’ll like it.
Warning | This project is still in it’s early days and might have a few bugs. We are trying hard to eliminate those as soon as possible.
Do you need help or found a bug? Open an issue!
📀 What you need
- Python (3.10 or higher)
- PIP
- PostgreSQL (Tested: v14-15)
Be sure to install everything before heading to the next step.
Please note that instead of python
your command may be python3
or similar.
REPO=https://github.com/tako-discord/tako.git && git clone $REPO --single-branch --branch $(git ls-remote --tags --refs $REPO | tail -n1 | cut -d/ -f3) -c advice.detachedHead=false
git clone https://github.com/tako-discord/tako.git
cd tako
pip install -r requirements.txt
bot_secrets.py
inside the tako
folder TOKEN = "" # https://discord.com/developers/applications
DB_NAME = "tako" # Or however you named your database
DB_HOST = "localhost" # gonna be different if using a non-local database
DB_PORT = 5432 # Optional port of the DB (Default: 5432)
DB_USER = "postgres"
DB_PASSWORD = ""
YOUTUBE_API_KEY = "" # https://developers.google.com/youtube/v3/getting-started
TMDB_API_KEY = "" # https://www.themoviedb.org/documentation/api
python helper.py
(Be sure that you are still in the tako
folder you cloned earlier)python helper.py
and choose “Start the bot” OR python main.py
tk!sync
(or if available: /sync
) in a channel the bot has access to. This is to make all slash commands visible.git checkout $(git ls-remote --tags --refs $REPO | tail -n1 | cut -d/ -f3)
git checkout master
(If you used the stable version previously)git pull
pre-commit install --hook-type commit-msg
to install the needed pre-commitcz commit
to commit the changes (you need to git add
the files first)Huge thanks to …all the testers
…and every other person helping. Like Contributors, Translators etc.
It’s a big journey and we are happy to be on it with you!
<hr />
Wow! You reached the end.