The Helpful Old Man!
A discord bot used in the Wise Old Man Discord server for facilitating support tickets.
Commands shown here are unix compatible and may need to be altered for Windows users.
Create a new virtual environment and activate it
$ python -m venv .venv
$ source ./.venv/bin/activateInstall dependencies
$ pip install -r requirements.dev.txtCopy the example .env file
$ cp .example.env .envUpdate the values in .env for your development bot
Ensure the bot has the proper permissions and intents (all)
Run the bot
$ python -m homOnce the bot is running, make sure to run the !sync command in your dev server.
This syncs the bots application commands with Discord.
You can also run the bot inside docker with hot reloading. It is still recommended to have have python and the bot's dependencies installed for compatibility with your linter.
Still make sure to copy the .env file and that your discord bot application
has proper perms in the developer dashboard.
$ docker-compose upEvery time you save a python file in the hom directory, the bot will restart.
Helpful Old Man is licensed under the [MIT License] (https://github.com/wise-old-man/helpful-old-man/blob/main/LICENSE).