Add Edge Mechanic and finalise rolling parts

This commit is contained in:
Sebastian Fischlmayr 2022-10-13 00:18:49 +02:00
parent f700c892ac
commit 42e7d69bbb
Signed by: Maverick
GPG key ID: 6379E413924A4E77
2 changed files with 153 additions and 20 deletions

View file

@ -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