Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19dd9ab commit 167cbc7Copy full SHA for 167cbc7
support.js
@@ -116,6 +116,11 @@ const actions = [
116
regexp: /what\s*(\w*)s?/i,
117
reply: (message, output) => `\n${output.join('\n')}`,
118
},
119
+{
120
+ action: (data, _message, prompt) => prompt,
121
+ regexp: /^(hello|hi|good [\s\w]*|happy [\s\w]*|yo|bonjour|bonsoir|nihao|hola)/i,
122
+ reply: (message, output) => `${output} ${message.userName}`,
123
+},
124
{
125
action: (_data, _message, _type) => true,
126
regexp: /.*\?$/i,
0 commit comments