(tasks): remove depreciated references.

This commit is contained in:
2026-08-28 01:26:38 +08:00
parent a70fa88343
commit 526a3714c9
-3
View File
@@ -1,7 +1,6 @@
import { Client as DiscordClient, GatewayIntentBits, MessageFlags, Partials } from 'discord.js'; import { Client as DiscordClient, GatewayIntentBits, MessageFlags, Partials } from 'discord.js';
import { config } from './config'; import { config } from './config';
import events from './events'; import events from './events';
import { ScheduledTasks, Scheduler } from './scheduler';
import { Database } from './shared/Database'; import { Database } from './shared/Database';
import { openRedisClient } from './shared/RedisClient'; import { openRedisClient } from './shared/RedisClient';
import { Handler } from './types'; import { Handler } from './types';
@@ -32,8 +31,6 @@ const client = new DiscordClient({
} }
}); });
const scheduler: Scheduler = new Scheduler(client);
const commands: Handler[] = []; const commands: Handler[] = [];
const contextMenus: Handler[] = []; const contextMenus: Handler[] = [];
const buttons: Handler[] = []; const buttons: Handler[] = [];