[AB-63] adding templates for new fun and utility commands: roll, loveCalc, roulette, choose, 8ball

This commit is contained in:
Sheldan
2020-12-14 01:48:28 +01:00
parent 9e7c071068
commit 41fb40fc8e
46 changed files with 71 additions and 0 deletions
@@ -0,0 +1,3 @@
{
"additionalMessage": "<@safe_include "eightBall_response_${chosenKey}"/>"
}
@@ -0,0 +1,5 @@
{
<#include "abstracto_color">,
<#assign choice=chosenValue>
"description": "<@safe_include "choose_response_description"/>"
}
@@ -0,0 +1,11 @@
{
"color" : {
"r": 31,
"g": 35,
"b": 122
},
<#assign first=firstPart>
<#assign second=secondPart>
<#assign chance=rolled>
"description": "<@safe_include "loveCalc_response_embed_description"/>"
}
@@ -0,0 +1,3 @@
{
"additionalMessage": "${rolled?c}"
}
@@ -0,0 +1,3 @@
{
"additionalMessage": "<@safe_include "${result?then('roulette_response_lost', 'roulette_response_won')}"/>"
}
@@ -0,0 +1 @@
Reply hazy, try again
@@ -0,0 +1 @@
Plays a game of magic 8-ball
@@ -0,0 +1,2 @@
This command can be used to receive a randomly chosen answer from a fixed set of positive, neutral or negative answers.
The answers are formulated in a way to answer a yes/no question.
@@ -0,0 +1 @@
The question to ask the magic 8-ball
@@ -0,0 +1 @@
I have chosen: ${choice}.
@@ -0,0 +1 @@
Chooses one of the given inputs
@@ -0,0 +1,4 @@
This command can be used to select a choice from a provided list of choices.
The choices need to be space separated and there can be an arbitrary amount of them.
If a choice needs to have spaces in it, the complete choice needs to be wrapped in ". For example "this choice" is considered one object to be chosen.
The wrapping " will not be part of the final output. Only one choice will be chosen, and a sole choice as input is also possible.
@@ -0,0 +1 @@
A space separated list of choices
@@ -0,0 +1 @@
Calculates the love percentage between two subjects
@@ -0,0 +1,2 @@
This commands takes to subjects int he form of text inputs (can be mentions as well) and calculates the love percentage between those.
The percentage is only whole numbers.
@@ -0,0 +1 @@
The first subject in the love calculation
@@ -0,0 +1 @@
The second subject in the love calculation
@@ -0,0 +1 @@
:cupid: Love Chance between ${first} and ${second} is ${chance}%.
@@ -0,0 +1 @@
Rolls a virtual die
@@ -0,0 +1 @@
This command can be used to roll a virtual die providing a number as output. Per default this die is 6-sided, but parameters for the side count and the minimal possible value can be provided.
@@ -0,0 +1 @@
The max value of the die. Default: 6
@@ -0,0 +1 @@
The minimum value the die can have. Default: 1
@@ -0,0 +1 @@
Plays one round of solo russian roulette
@@ -0,0 +1 @@
This command simulates one round of russian roulette. When executed this command uses a random chance to determine if a shot is made.
@@ -0,0 +1 @@
:gun: :boom:, you died! :skull:
@@ -0,0 +1 @@
:gun: *click*, no bullet in there for you this round.
@@ -0,0 +1 @@
The amount of bullets the revolver holds. Default: ${defaultValue}