Skip to content

Simple dice rolling bot for discord (for dnd and stuff). Trying to improve my Python skills!

Notifications You must be signed in to change notification settings

Suda97/DiceRollingBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DiceRollingBot (Fate) v1.2

1.0v Simple dice rolling bot for discord (for dnd and stuff). Trying to improve my Python skills!
It's just a discord bot which rolls the dice... FOR NOW!
1.1v Added error handling
1.2v Fate is capable of playing music from YouTube, thanks to
https://github.com/Rapptz/discord.py/blob/master/examples/basic_voice.py

Text channel commands:

!fate - Shows this message;
!files - Generates server JSON file (type it in as first command!);
!tracker - Shows battle tracker;
!add [Name] [Initiative mod] [Dex score] - Adds character to the battle tracker (initiative roll);
!delete [Name] - Deletes character from the battle tracker;
!clear - Clears the battle tracker (and end battle if it's turned on);
!battle - Turns on/off battle mode (only works while tracker isn't empty);
!done - Ends turn of a player while in battle mode;
!r [dice] - Rolls the dice. Example: d20, 2d20 (two d20), 2d20A (advantage roll), 2d20D (disadvantage roll), d20+10 (roll with mod);

Voice channel commands:

!join - Connects bot to the voice channel;
!play [url] - Starts to play music from given YouTube URL;
!leave - Disconnects bot from the voice channel (stops the music);
!pause - Pauses playback of music;
!resume - Resumes playback of music;

About

Simple dice rolling bot for discord (for dnd and stuff). Trying to improve my Python skills!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages