GroupUp/deps.ts

51 lines
1.4 KiB
TypeScript
Raw Normal View History

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);
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,
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,
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,
InteractionResponse,
2023-01-11 18:21:43 -08:00
MakeRequired,
Message,
PermissionStrings,
SelectMenuComponent,
SelectOption,
2023-01-11 18:21:43 -08:00
} from 'https://deno.land/x/discordeno@17.0.1/mod.ts';
2023-01-09 18:26:41 -08:00
export { Client } from 'https://deno.land/x/mysql@v2.11.0/mod.ts';
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';