inputBot usage

This commit is contained in:
Matt Brockman 2021-01-17 10:54:46 -08:00
parent 8186df2d2c
commit 1dc475d846

30
examples/inputBot.js Normal file
View 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
*/