inputBot usage
This commit is contained in:
parent
8186df2d2c
commit
1dc475d846
1 changed files with 30 additions and 0 deletions
30
examples/inputBot.js
Normal file
30
examples/inputBot.js
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
|
||||||
|
// Checkout the repo examples to get an idea of other ways you can use scripting
|
||||||
|
// https://github.com/latitudegames/Scripting/blob/master/examples
|
||||||
|
|
||||||
|
//INPUT MODIFIER
|
||||||
|
const modifier = (text) => {
|
||||||
|
state.inputBot = 'DCStatDifficultyBot'
|
||||||
|
return { text }
|
||||||
|
}
|
||||||
|
|
||||||
|
// Don't modify this part
|
||||||
|
modifier(text)
|
||||||
|
|
||||||
|
|
||||||
|
// CONTEXT MODIFIEr
|
||||||
|
const modifier = (text) => {
|
||||||
|
console.log(info?.inputEvaluation)
|
||||||
|
return { text }
|
||||||
|
}
|
||||||
|
|
||||||
|
// Don't modify this part
|
||||||
|
modifier(text)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
AVAILABLE BOTS
|
||||||
|
['DCStatDifficultyBot'] - Stat, Difficulty
|
||||||
|
['InputDCattributeBot'] - DC, Attrbute
|
||||||
|
*/
|
Reference in a new issue