An open-sourced Discord bot, written with discord.py==1.7.3
.
If you want to host this bot:
- Ensure your bot application has both intents enabled.
- Copy
suprkewl-bot/config.py.example
tosuprkewl-bot/config.py
. Fill out the config parameters. - You need to set up both a Redis and a Lavalink instance and fill out the credentials in config.
- You need the tables
tf2idb_item
andtf2idb_item_attributes
from here (migrate them in using pgloader) - You also need Postgres (if you don't already have it); install it and type the following lines into
psql
:CREATE ROLE skbot WITH LOGIN PASSWORD '123';
CREATE DATABASE skbot OWNER skbot;
CREATE EXTENSION pg_trgm;
- Finally, you can use
pip3 install -r requirements.txt
at the root of this repo to install the requirements.
Please ensure that you run the bot with the repo root as your current directory.
(If you forget about this and run the bot, you can use sk!jsk py import os; os.chdir("<repo root dir here>")
.)
Oh and hey, if you wanna PR this bot, I'm not merging/rebasing until the build passes. Thanks anyway.