2023-01-11 15:06:20 -08:00
|
|
|
// All external dependencies are to be loaded here to make updating dependency versions much easier
|
|
|
|
import { getBotIdFromToken } from 'https://deno.land/x/discordeno@16.0.1/mod.ts';
|
|
|
|
import config from './config.ts';
|
|
|
|
import { LOCALMODE } from './flags.ts';
|
|
|
|
export const botId = getBotIdFromToken(LOCALMODE ? config.localToken : config.token);
|
2021-05-30 14:04:58 -07:00
|
|
|
|
2023-01-11 15:06:20 -08:00
|
|
|
export { enableCachePlugin, enableCacheSweepers } from 'https://deno.land/x/discordeno@17.0.1/plugins/cache/mod.ts';
|
|
|
|
export type { BotWithCache } from 'https://deno.land/x/discordeno@17.0.1/plugins/cache/mod.ts';
|
|
|
|
|
|
|
|
export { ActivityTypes, createBot, editBotMember, editBotStatus, getBotIdFromToken, Intents, sendInteractionResponse, sendMessage, startBot } from 'https://deno.land/x/discordeno@17.0.1/mod.ts';
|
|
|
|
export type { ActionRow, Bot, ButtonComponent, CreateMessage, Embed, EventHandlers, Guild, Interaction, Message } from 'https://deno.land/x/discordeno@17.0.1/mod.ts';
|
2021-05-30 14:04:58 -07:00
|
|
|
|
2023-01-09 18:26:41 -08:00
|
|
|
export { Client } from 'https://deno.land/x/mysql@v2.11.0/mod.ts';
|
2021-05-30 14:04:58 -07:00
|
|
|
|
2022-07-10 17:48:38 -07:00
|
|
|
export { initLog, log, LogTypes as LT } from 'https://raw.githubusercontent.com/Burn-E99/Log4Deno/V1.1.0/mod.ts';
|