Killua Discord Bot
Games, Moderation, todo lists and much more.
Details
Hello and thanks for checking out Killua's source code! I have been working on Killua for months and I learned Python by programming him. He is frequently updated with a team of developers, each doing their part.
Website: https://killua.dev
Invite Killua to your guild here
Feel free to add issues or PRs, I would really appreciate it
What you need to run Killua locally
First, set up a virtual environment. Do so with python3 -m venv env; source env/bin/activate
. To leave the virtual environment after you are done, simply run deactivate
requirements.txt
contains the libraries you'll need and probably a few more. To install the libraries use pip3 install -r requirements.txt
Note: discord-ext-ipc
will throw an internal error. To get rid of this, you need to go into its source code and delete/comment out every time bot.dispatch
is called
You will need a mongodb account. Why do I use mongodb and not sql? In my opinion mongo is easier to use and you can manually add and remove data
You will have to create a mongodb account here, then follow the instructions in setup.py
and then run python3 setup.py
or choose the "setup database" option in the menu to get the database set up
You will also need a file named config.json
having the layout like this:
{
"token": "token",
"mongodb": "your-mongodb-token",
"pxlapi": "pxlapi-token",
"patreon": "patreon-api-token",
"dbl_token": "dbl-token",
"topgg_token": "topgg-token",
"password": "vote-pages-password",
"port": 8000,
"ipc": "ipc-token"
}
You can finally run the bot in development or production enviornment in a menu by running ./run.sh
If you don't like me using one of your images for the hug or pat command, please contact me on discord Kile#0606
or on [email protected]
If you have any further questions, join my discord server or dm me!