From a839372cfe9f64618c83cb0f8be10fad1b40cbe9 Mon Sep 17 00:00:00 2001 From: Dragory Date: Sat, 21 Apr 2018 16:42:35 +0300 Subject: [PATCH] You can now use !close c as an alias for !close cancel --- src/modules/close.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/close.js b/src/modules/close.js index b2bcfae..e46b504 100644 --- a/src/modules/close.js +++ b/src/modules/close.js @@ -42,7 +42,7 @@ module.exports = bot => { // Timed close if (args.length) { - if (args[0] === 'cancel') { + if (args[0].startsWith('c')) { // Cancel timed close if (thread.scheduled_close_at) { await thread.cancelScheduledClose();