2023-01-11 15:06:20 -08:00
|
|
|
// All external dependencies are to be loaded here to make updating dependency versions much easier
|
2023-04-28 20:27:05 -07:00
|
|
|
import { getBotIdFromToken } from 'https://deno.land/x/discordeno@17.0.1/mod.ts';
|
2023-01-11 15:06:20 -08:00
|
|
|
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';
|
|
|
|
|
2023-01-11 18:21:43 -08:00
|
|
|
export {
|
|
|
|
ActivityTypes,
|
|
|
|
ApplicationCommandFlags,
|
2023-01-11 19:23:27 -08:00
|
|
|
ApplicationCommandOptionTypes,
|
2023-01-11 18:21:43 -08:00
|
|
|
ApplicationCommandTypes,
|
2023-01-28 17:59:39 -08:00
|
|
|
BitwisePermissionFlags,
|
|
|
|
ButtonStyles,
|
2023-01-28 17:58:24 -08:00
|
|
|
ChannelTypes,
|
2023-01-11 18:21:43 -08:00
|
|
|
createBot,
|
|
|
|
getBotIdFromToken,
|
|
|
|
Intents,
|
|
|
|
InteractionResponseTypes,
|
2023-01-28 17:59:39 -08:00
|
|
|
MessageComponentTypes,
|
|
|
|
OverwriteTypes,
|
2023-01-11 18:21:43 -08:00
|
|
|
startBot,
|
2023-01-31 00:32:53 -08:00
|
|
|
TextStyles,
|
2023-01-11 18:21:43 -08:00
|
|
|
} from 'https://deno.land/x/discordeno@17.0.1/mod.ts';
|
|
|
|
export type {
|
|
|
|
ActionRow,
|
|
|
|
ApplicationCommand,
|
|
|
|
ApplicationCommandOption,
|
|
|
|
Bot,
|
|
|
|
ButtonComponent,
|
|
|
|
CreateApplicationCommand,
|
|
|
|
CreateMessage,
|
2023-01-28 17:59:39 -08:00
|
|
|
DiscordEmbedField,
|
2023-01-11 18:21:43 -08:00
|
|
|
Embed,
|
|
|
|
EventHandlers,
|
|
|
|
Guild,
|
|
|
|
Interaction,
|
2023-03-27 19:41:59 -07:00
|
|
|
InteractionResponse,
|
2023-01-11 18:21:43 -08:00
|
|
|
MakeRequired,
|
|
|
|
Message,
|
|
|
|
PermissionStrings,
|
2023-04-28 22:11:44 -07:00
|
|
|
SelectMenuComponent,
|
2023-01-31 00:32:53 -08:00
|
|
|
SelectOption,
|
2023-01-11 18:21:43 -08:00
|
|
|
} 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';
|