From 6e19575ca4b5a4ecc49f1bb1b7037c8c02efeccc Mon Sep 17 00:00:00 2001 From: Dragory <2606411+Dragory@users.noreply.github.com> Date: Sun, 1 Nov 2020 21:46:01 +0200 Subject: [PATCH] New alias for !log: !thread --- src/modules/logs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/logs.js b/src/modules/logs.js index 928d3f2..5599bd8 100644 --- a/src/modules/logs.js +++ b/src/modules/logs.js @@ -106,7 +106,7 @@ module.exports = ({ bot, knex, config, commands, hooks }) => { commands.addInboxServerCommand("logs", " [page:number]", logsCmd, { options: logCmdOptions }); commands.addInboxServerCommand("logs", "[page:number]", logsCmd, { options: logCmdOptions }); - commands.addInboxServerCommand("log", "[threadId:string]", logCmd, { options: logCmdOptions }); + commands.addInboxServerCommand("log", "[threadId:string]", logCmd, { options: logCmdOptions, aliases: ["thread"] }); commands.addInboxServerCommand("loglink", "[threadId:string]", logCmd, { options: logCmdOptions }); hooks.afterThreadClose(async ({ threadId }) => {