A discord bot that uses v2.4 of discord.py to send daily randomized affirmations to your server!
I don't have a public bot to invite, so you'll have to run this on your own bot. To do this, follow the installation instructions below.
If you are wanting to run this on your own bot, here is what you need to do:
git clone https://github.com/BeeMoe5/affirmation-bot.git
You'll need ffmpeg installed and add to path on your system to play voice affirmations. Additionally, for voice affirmations to work properly, you need to make a "sounds" folder in the /assets directory and put your voice affirmations in there.
Create a .env file in the root of the repository, if you haven't already:
touch .env
Then, add the following to the .env file:
DISCORD_TOKEN=your_bot_token
AFFIRM_TEXT_CHANNEL_ID=your_text_channel_id
AFFIRM_VOICE_CHANNEL_ID=your_voice_channel_id
AFFIRM_ROLE_ID=your_role_id
Its all in the pyproject.toml file, so for poetry users:
poetry install
but for pip users:
pip install .
python src/main.py