Simp-O-Matic

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

commit cc59a92cb732aba33f50c026990ecae5e2fa406c
parent a6fb6be73a62b649e1d93a084a54f368de5f347a
Author: Demonstrandum <moi@knutsen.co>
Date:   Thu, 21 May 2020 00:09:24 +0100

Change 'a command' to 'an alias'

Diffstat:
Mlib/commands/code.ts | 2+-
Mlib/default.ts | 2++
2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/lib/commands/code.ts b/lib/commands/code.ts @@ -11,7 +11,7 @@ export default (homescope : HomeScope) => { const expansion = CONFIG.commands.aliases[command]; if (expansion) return message.channel.send(`\`${p}${command}\`` - + `is a command that expands to \`${p}${expansion}\`.`); + + `is an alias that expands to \`${p}${expansion}\`.`); const filename = `${process.cwd()}/lib/commands/${command}.ts`; diff --git a/lib/default.ts b/lib/default.ts @@ -62,6 +62,8 @@ const DEFAULT_GUILD_CONFIG : Types.Config = { 'sourcecode': 'code', 'introspect': 'code', 'inspect': 'code', + 'whatis': 'code', + 'which': 'code', 'save': 'export', 'trans': 'translate', },