We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2569314 commit 0a995b1Copy full SHA for 0a995b1
app/services/Motd.ts
@@ -101,7 +101,7 @@ export class Motd extends Service {
101
super(container);
102
this.messages = [];
103
this.initServices();
104
- scheduleJob("0 12 * * *", this.executeMessageJob.bind(this));
+ scheduleJob({ minute: 0, hour: 12, tz: "Etc/GMT-2" }, this.executeMessageJob.bind(this));
105
}
106
private async initServices() {
107
const bot = await this.container.getService("DiscordBot");
@@ -176,7 +176,7 @@ export class Motd extends Service {
176
if (res.data.status === 200) {
177
return res.data.data;
178
179
- } catch {}
+ } catch { }
180
181
182
async setNicknameFromSentence(motd: string): Promise<boolean | undefined> {
0 commit comments