diff --git a/src/discord.ts b/src/discord.ts index ab030ef..e646a36 100644 --- a/src/discord.ts +++ b/src/discord.ts @@ -1,4 +1,4 @@ -import { Client as DiscordClient, Events, GatewayIntentBits } from 'discord.js'; +import { ChannelType, Client as DiscordClient, Events, GatewayIntentBits, Partials } from 'discord.js'; import { escapeMarkdown } from '@discordjs/formatters'; import { BotLauncher, MessageHandler, ShutdownFunction } from './Engine'; import UnconfiguredException from './UnconfiguredException'; @@ -19,6 +19,10 @@ export function launch(token: string, handler: MessageHandler): Promise { @@ -46,7 +50,11 @@ export function launch(token: string, handler: MessageHandler): Promise