You can now use !close c as an alias for !close cancel

master
Dragory 2018-04-21 16:42:35 +03:00
parent 00e1684afb
commit a839372cfe
1 changed files with 1 additions and 1 deletions

View File

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