Dice rolling bot for discord.
Clone project: git clone git@github.com:lauripalonen/arpanoid.git
To run in a virtual environment, see venv.
Install requirements: python -m pip install -r requirements.txt in project root.
For detailed directions to configure your bot on discord, please see discord developer portal.
Quick start:
- create an app
- get the bot token (navigate from application menu to Bot tab)
- create .env file in root containing the token:
BOT_TOKEN=your_token_here - make sure .env is in your .gitignore. Do not share your token!
- navigate to OAuth2 tab in the application menu and generate URL
- follow that URL to connect your bot to your selected channel
Start Arpanoid: python3 arpanoid.py
Arpanoid commands on discord:
- !help - display help
- !roll <throws>d<die> - roll a die (e.g. !roll 3d4)
arpa ['ɑrpɑ] (noun, Finnish):
- lot (for example dice)
- (informal) lottery ticket