A simple Discord bot for rolling dice, voting and posting GIFs.
Requires: python 3.6 or higher.
Run:
git clone https://github.com/eywat/rollo.git
cd rollo
pip install -r requirements.txtTo run the bot you need a Discord application token, which can be obtained from here. You will need to create an application and under the applications Bot tab, you can create a Bot and access the token.
Additionally, you can obtain a tenor token, to search for and post GIFs.
Add a .env file to the rollo folder with the following content:
BOT_TOKEN=your-discord-token-here
TENOR_TOKEN=your-tenor-token-here # Optional
LOG_LEVEL=10 # Optional
To run the bot simply run: python rollo.py
If you want to add the Bot to a guild, in the Discord Developer Portal, you need to access OAuth2 under your Bot's Application. There you can select bot in SCOPES and in the then appearing BOT PERMISSIONS you will need to select Send Messages, Embed Links, Attach Files, Read Message History. You can paste the appearing link into your browser's url bar and can select the guild you want to add the bot to.
If you want to enable functions which access your servers member list you need to enable SERVER MEMBERS INTENT in the BOT tab.
- drinking games ala Piccolo
- choose one chat member
- Trivia questions
- sound effects