You can now use !close c as an alias for !close cancel
parent
00e1684afb
commit
a839372cfe
|
@ -42,7 +42,7 @@ module.exports = bot => {
|
||||||
|
|
||||||
// Timed close
|
// Timed close
|
||||||
if (args.length) {
|
if (args.length) {
|
||||||
if (args[0] === 'cancel') {
|
if (args[0].startsWith('c')) {
|
||||||
// Cancel timed close
|
// Cancel timed close
|
||||||
if (thread.scheduled_close_at) {
|
if (thread.scheduled_close_at) {
|
||||||
await thread.cancelScheduledClose();
|
await thread.cancelScheduledClose();
|
||||||
|
|
Loading…
Reference in New Issue