Triggers a document and responds with the word "document".
commands.OnDocument("document");
Triggers a document and and sends randomly from the array word.
commands.OnDocument("thank", "the best doc!");
You can set your own trigger processing logic.
commands.OnDocument(async (api, message, token) => { // your logic });
There was an error while loading. Please reload this page.