Simp-O-Matic

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

commit 5dd2a30e92402b23567e8ee4de17ade94ea5fe0a
parent d694acc2c58f7e992d6a744d4f8e4be37e16ca59
Author: Demonstrandum <moi@knutsen.co>
Date:   Wed, 18 Mar 2020 19:06:46 +0000

Fix echo.

Diffstat:
Mlib/commands/echo.ts | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/commands/echo.ts b/lib/commands/echo.ts @@ -1,4 +1,4 @@ export default home_scope => { - const { message } = home_scope; - message.channel.send(message.content); + const { message, args } = home_scope; + message.channel.send(args.join(' ')); }