(tasks): Linting.

This commit is contained in:
2026-09-21 22:22:58 +08:00
parent f66f1b84cd
commit d223a4e5b4
5 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -6,10 +6,10 @@ const task: Task = {
id: 'checkExpiredBans',
interval: 300000,
firstRun: true,
handle: async (context: Client) => {
await checkExpiredBans(context);
},
}
};
export default task;
+1 -1
View File
@@ -6,7 +6,7 @@ const task: Task = {
id: 'closeStaleTickets',
interval: 3.6e6,
firstRun: true,
handle: async (context: Client) => {
await closeOldTickets(context);
},
+2 -2
View File
@@ -6,10 +6,10 @@ const task: Task = {
id: 'pruneOldMessages',
interval: 3.6e6,
firstRun: true,
handle: async (context: Client) => {
await Database.pruneOldMessages();
},
}
};
export default task;
+1 -1
View File
@@ -1,4 +1,4 @@
import { Client } from "discord.js";
import { Client } from 'discord.js';
export interface Task {
id: string;
+2 -2
View File
@@ -1,7 +1,7 @@
import { APIEmbed, Client } from 'discord.js';
type EmbedSeverity =
| 'info'
type EmbedSeverity
= | 'info'
| 'warning'
| 'error'
| 'success'