Add Edge Mechanic and finalise rolling parts
This commit is contained in:
parent
f700c892ac
commit
42e7d69bbb
2 changed files with 153 additions and 20 deletions
|
@ -48,15 +48,29 @@ const commands = [
|
|||
)
|
||||
.addNumberOption(option =>
|
||||
option
|
||||
.setName('difficulty')
|
||||
.setDescription('The difficulty of the roll.')
|
||||
.setName('threshold')
|
||||
.setDescription('The threshold of the roll.')
|
||||
.setRequired(true)
|
||||
)
|
||||
.addNumberOption(option =>
|
||||
option
|
||||
.setName('interval')
|
||||
.setDescription('The interval of the roll.')
|
||||
.setRequired(true)
|
||||
)
|
||||
.addStringOption(option =>
|
||||
option
|
||||
.setName('interval-unit')
|
||||
.setDescription('The unit of the interval. Defaults to Hours.')
|
||||
.setRequired(false)
|
||||
.addChoices(
|
||||
{ name: 'Seconds', value: 'seconds' },
|
||||
{ name: 'Minutes', value: 'minutes' },
|
||||
{ name: 'Hours', value: 'hours' },
|
||||
{ name: 'Days', value: 'days' },
|
||||
{ name: 'Weeks', value: 'weeks' },
|
||||
{ name: 'Months', value: 'months' },
|
||||
)
|
||||
)
|
||||
.addNumberOption(option =>
|
||||
option
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue