This repository has been archived on 2025-02-27. You can view files and clone it, but cannot push or open issues or pull requests.
AIDScripting/examples/contextModifiers/dontBeNegative.js
2020-09-19 21:34:29 -07:00

7 lines
198 B
JavaScript

const modifier = (text) => {
// This will always result in a shorter string, so no need to truncate it.
return { text: text.replace(/ not /gi, ' ') }
}
// Don't modify this part
modifier(text)