Simp-O-Matic

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

commit 3f1c91e0958580121f31272795c3429d0873e923
parent 21807edb3e023ef2cb77f51079f20455bc2af6ab
Author: Demonstrandum <moi@knutsen.co>
Date:   Sun, 22 Mar 2020 22:33:06 +0000

Be more prefix friendly.

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

diff --git a/lib/main.ts b/lib/main.ts @@ -220,7 +220,8 @@ export class SimpOMatic { break; } case 'set': { if (args.length < 2) { - message.answer('Please provide two arguments.\nSee `!help set`.'); + message.answer(`Please provide two arguments.\n` + + `See \`${CONFIG.commands.prefix}help set\`.`); break; } try { @@ -311,7 +312,7 @@ export class SimpOMatic { } } message.answer('Invalid number of arguments to alias,\n' - + 'Please see `!help alias`.'); + + `Please see \`${CONFIG.commands.prefix}help alias\`.`); } break; } case 'search': {