send reminder on boot
This commit is contained in:
parent
dd109d0907
commit
2a6862742d
@ -54,6 +54,7 @@ class Modmail {
|
|||||||
if (this._reminderChannel) {
|
if (this._reminderChannel) {
|
||||||
this.reminderChannel = this.client.channels.resolve(this._reminderChannel);
|
this.reminderChannel = this.client.channels.resolve(this._reminderChannel);
|
||||||
this.reminder = setInterval(this.sendReminder.bind(this), this.reminderInterval * 60 * 1000);
|
this.reminder = setInterval(this.sendReminder.bind(this), this.reminderInterval * 60 * 1000);
|
||||||
|
this.sendReminder();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Sweep graveyard every 30 min and move stale channels to graveyard
|
// Sweep graveyard every 30 min and move stale channels to graveyard
|
||||||
|
Loading…
Reference in New Issue
Block a user