A discord bot that notifies when your friends join a voice channel.
From the post here: https://blog.danpetrolito.xyz/i-built-something-that-changed-my-friend-gro-social-fabric/
- Download this repository
- Install the discord.py library. You can do this in a virtualenv if your fancy, or you can install it globally if you don't care like this:
pip install -U discord.py
- Follow these
steps to create a
discord bot account and invite it to your server.
- The bot needs "Send Messages" and "Use Voice Activity" permissions on the invite to your server.
- Make sure you copy the "Token" (also called "Client Secret") after creating the bot account. Treat this as if it were a password, so do not share it with anyone.
- Copy the
config.ini.examplefile in this repo and rename itconfig.ini. Copy-paste your bot's Token into thetokenfield. Set thechannelfield to the name of the message that you want to post notifications to. - Run the bot from the command line:
./yapper.py