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();