Simp-O-Matic

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

commit 1f5e96f01e653e7a552b2e9dddf321e428a0fd36
parent 3815f528f87340a0a340ca7259df94b395179852
Author: Demonstrandum <moi@knutsen.co>
Date:   Thu, 21 May 2020 15:50:44 +0100

Added suck.ts file 😬

Diffstat:
Alib/commands/suck.ts | 12++++++++++++
1 file changed, 12 insertions(+), 0 deletions(-)

diff --git a/lib/commands/suck.ts b/lib/commands/suck.ts @@ -0,0 +1,12 @@ +import { Message } from 'discord.js'; +import Action from '../action'; + +export default (home_scope: HomeScope) => { + const { message, args } = home_scope; + + if (args.length === 0 || message.mentions.users.size === 0) + return message.channel.send( + "You sucked on your own finger :sweat_drops:"); + + message.channel.send(Action.get('suck', message)); +};