Skip to content

Hope-Parnell/DungeonsAndDiscord

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DungeonsAndDiscord

Hope Parnell Matthew Mires

A Discord Bot With Dice Rolling Capabilities And A Randomized Hero Creator

Usage

Add the bot to your server HERE OR temporarily join our testing server HERE

Once the bot is in your server, send a message &<cmd> where <cmd> is the command you want the bot to run

Commands

Here is a list of currently implemented commands. [] indicates optional input

cmd [str]

tells/changes the command prompt If a string is specified, the string can now be used in place of '&' for commands The bot replies with the currently set string.

  • Currently not server exclusive, so string will be changed for all servers ** Will use everything up to the next space for the string *** & will always work for commands

Examples:

&cmd
**Bot reply:** Command promt is '&'
&cmd !
**Bot reply:** Command promt is now '!'
&cmd !*
**Bot reply:** Command promt is now '!*'
&cmd i !
**Bot reply:** Command promt is now 'i'

help [command]

Private Messages the help page for a specific command. Without a command send the general help page.

hero

randomly generates a basic character

Example:

**Bot reply:**
Your Adventerer
**Class**  **Race**     **Background**
Wizard Half-Elf Charlatan
**Stats**
Strength: 9
Dexterity: 17
Constitution: 15
Intelligence: 18
Wisdom: 14
Charisma: 13

Notes Feature uses basic 5e rules from the PHB Skills and other proficiencies will have to be chosen by the player Randomly rolled stats are assigned based on the randomly chosen class

lol

Replies with "You're so funny!"

roll [dice | number] [+|-] [dice | number] [+|-] [dice | number]...

rolls any comination of dice and modifiers Rolls the specified dice and adds or subtracts any modifiers specified Cannot roll more than 10million dice or dice with more than 10million sides This was implemented to avoid the bot crashing Dice rolled should be in XdY format and neither X or Y can be negative If no input is given will roll 1d20

Examples:

**Bot reply:** Your total is 16
Rolls: 16

&roll 3d6 + 4
**Bot reply:** Your total is 20
Rolls: 4, 6, 6

&roll 4d6 + 3d4 + 2
**Bot reply:** Your total is 26
Rolls: 3, 3, 5, 6, 1, 2, 4

&roll 2d4 + 7 + 1d6
**Bot reply:** Your total is 13
Rolls: 2, 3, 1
&roll 2d8 + 7 - 2d4 + 6 - 2
**Bot reply:** Your total is 14
Rolls: 7, 1, 4, 1

&rollStats [min] [max]

rolls a stat array of 6 stats

  • if [min] is not specified it will set to 8
  • if [max] is not specified it will set to 18
  • to specify [max], [min] must be specified
  • [min] must be less than [max]
  • [min] and [max] must be positive integers

Examples:

**Bot reply:** Your Stats: 9, 14, 10, 8, 13, 13

&rollStats 3
**Bot reply:** Your Stats: 11, 5, 7, 9, 13, 4

&rollStats 5 11
**Bot reply:** Your Stats: 7, 8, 7, 8, 5, 8

&rollStats -1 5
**Bot reply:** \[min] must be a positive number
Use &help rollStats for more information

&rollStats -1 -3
**Bot reply:** \[min] must be a positive number
[max] must be a positive number
\[min] must be less than [max]
Use &help rollStats for more information

&rollStats 1 -5
**Bot reply:** [max] must be a positive number
\[min] must be less than [max]
Use &help rollStats for more information

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published