Creating a processor
Create a static method that returns a string
and mark it as a processor using the [Processor]
attribute.
This example removes exclamation marks from the input. In case you want to prevent aggressive commands.
Caution
You may not wanna go overboard with processors, as it could lead to unexpected behaviour if not handled with caution. Remember to make sure the final string is still executable after being modified.
Last updated