Hello, I'm DuckBot 💞
This is DuckBot's source code. Invite me using the hyperlink above.
- Install python 3.11 on your machine.
- Create a
.env
file, in/utils/.env
. - Put the contents of
/utils/example.env
in it and fill out the information as needed. (some fields are optional). - Create a PostgreSQL database and a user in it, then run the
schema.sql
file to create the required tables. - Install the requirements from
requirements.txt
. - Run the bot:
python .
. or to enable discord.py debug logs,python . --verbose
Note Using a virtual environment is recommended.
Warning lru-dict installation errors.
the
lru_dict
requirement may need you to install thepython-dev
package on linux (use the appropriate one for your python version), or Microsoft Visual C++ on windows.
Thanks for taking an interest in contributing to DuckBot! Please check out the contributing guidelines!
Note Rewrite code base (not production).
The production code of this bot can be found in
branch:master
. If you are looking to submit a pull request to fix a bug in the current version of DuckBot, check out that branch instead!