evaluationBot usage
This commit is contained in:
parent
5e0d4b4a67
commit
4fdd036010
1 changed files with 30 additions and 0 deletions
30
examples/evaluationBots.js
Normal file
30
examples/evaluationBots.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
|
||||||
|
|
||||||
|
//CONTEXT MODIFIER
|
||||||
|
const modifier = (text) => {
|
||||||
|
state.evaluationBot = 'JudgeBot'
|
||||||
|
return { text }
|
||||||
|
}
|
||||||
|
|
||||||
|
// Don't modify this part
|
||||||
|
modifier(text)
|
||||||
|
|
||||||
|
|
||||||
|
// OUTPUT MODIFIER
|
||||||
|
const modifier = (text) => {
|
||||||
|
console.log(info)
|
||||||
|
return { text }
|
||||||
|
}
|
||||||
|
|
||||||
|
// Don't modify this part
|
||||||
|
modifier(text)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
AVAILABLE BOTS
|
||||||
|
|
||||||
|
|
||||||
|
*/
|
Reference in a new issue