Bot which is able to protect voting contest from spammer abuse
For more on this bot and all the rest of the Eco Community bots, check out this post.
- Go to https://discord.com/developers/applications and click "New Application" Enter the name of the application, this name will not appear anywhere
- Go to your app and click to "Bot" section and click "Add Bot" button then "Yes, do it!"
- Click to "Copy" button and replace "bot_token" in the configuration file with token you have copied
- Create oauth2 link with at least
273472
permissions
- Open user settings in discord app and select "Appearance"
- Scroll to the end and enable "Developer Mode"
- Then right click on the contest channel and "Copy id"
- Replace "channel_id" in the configuration file with copied id
- Install requirements from
requirements.txt
forPython 3
- Copy and update settings in
config.example.py
- Start bot via
python bot.py
- Create a new post in the voting channel with #votehere tag
- When the contest is over remove #votehere tag