Skip to content

Simple Discord bot that rolls dices. Built using Python3 as a learning exercise

Notifications You must be signed in to change notification settings

stebaker92/discord-dice-roller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord Dice Roller bot

A discord bot that allows you to roll a dice via chat commands. Built as an exercise to learn Python and how discord bots work

Configuring a Discord bot

  • todo: notes on how to create a bot via Discord developer portal

Setup locally with venv (recommended)

- pip3 install -r requirements.txt

  • rename .env.example to .env and insert your Discord token

Running locally

python3 bot.py

Usage

Once installed into your Discord server, send any of the following chat messages to trigger a dice roll

/roll
/roll 4
/roll 2d6

Resources

https://realpython.com/how-to-make-a-discord-bot-python/#what-is-a-bot

About

Simple Discord bot that rolls dices. Built using Python3 as a learning exercise

Topics

Resources

Stars

Watchers

Forks