Update Task from type to interface.

This commit is contained in:
Nix Krystik
2026-05-24 05:40:05 +08:00
parent 0d2823401c
commit 79487818c2
3 changed files with 18 additions and 14 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
import { Client } from "discord.js";
export type Task = {
export interface Task {
interval: number;
firstRun: boolean;
handle: (context: Client) => Promise<void>;
handle(context: Client): Promise<void>;
};