Simp-O-Matic

Dumb Discord bot in TS.
git clone git://git.knutsen.co/Simp-O-Matic
Log | Files | Refs | README | LICENSE

commit 102e1fd05352be8b13527bab1a50ba4fc08299fd
parent f22f68bc01c89b4629399c8f1ded0d9fd4d4ad01
Author: Demonstrandum <moi@knutsen.co>
Date:   Wed, 18 Mar 2020 22:38:34 +0000

Forgot to actually send the message...

Diffstat:
Mlib/commands/reject.ts | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/lib/commands/reject.ts b/lib/commands/reject.ts @@ -13,6 +13,7 @@ export default home_scope => { str += `\n Responds with: ‘${rule.response}’`; str += '\n'; }); + message.channel.send(str); } else if (args[0] === 'rm') { // Remove a rule. const match = args[1].match(/#?(\d+)/);