Code:
const { Interpreter, StringTransformer } = require("tagscript")
const ts = new Interpreter();
let result = await ts.run('{args}', { args: new StringTransformer('Hi, How are you?') });
console.log(result)
Returns:
Response {
raw: '{args}',
body: '{args}',
variables: {
args: StringTransformer { str: 'Hi, How are you?', escape: false }
},
actions: {},
keyValues: {}
}
Shouldn't the output be:
Response {
raw: '{args}',
body: 'Hi, How are you?',
variables: {
args: StringTransformer { str: 'Hi, How are you?', escape: false }
},
actions: {},
keyValues: {}
}
Plugins such as tagscript-plugin-discord doesn't work as well, when using transformers.
Package Versions:
"discord.js": "^14.5.0",
"tagscript": "^1.2.11",
"tagscript-plugin-discord": "^2.0.4"
Code:
Returns:
Shouldn't the output be:
Plugins such as
tagscript-plugin-discorddoesn't work as well, when using transformers.Package Versions: