Simp-O-Matic

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

commit b94e15055706e57493a3ecc6ddcdad66a89a6131
parent 1888e2c038a74ac96b197b3f6c08cb74aea9aab9
Author: Demonstrandum <moi@knutsen.co>
Date:   Wed, 18 Mar 2020 15:29:49 +0000

Act on rules, but no way to add new ones.

Diffstat:
Mlib/main.ts | 3---
1 file changed, 0 insertions(+), 3 deletions(-)

diff --git a/lib/main.ts b/lib/main.ts @@ -497,9 +497,6 @@ export class SimpOMatic { process_generic(message : Message) { const { content } = message; - if (content.includes(' bot ')) - message.answer("The hell you sayn' about bots?"); - for (const responder of CONFIG.rules.respond) { const match = content.match(responder.match); const { response } = responder;