SweeperBot/deps.ts

14 lines
834 B
TypeScript
Raw Normal View History

2022-09-01 21:53:43 -07:00
// All external dependancies are to be loaded here to make updating dependancy versions much easier
2022-09-01 23:48:28 -07:00
import { getBotIdFromToken } from 'https://deno.land/x/discordeno@13.0.0/mod.ts';
import config from './config.ts';
import { LOCALMODE } from './flags.ts';
export const botId = getBotIdFromToken(LOCALMODE ? config.localtoken : config.token);
2022-09-01 21:53:43 -07:00
2022-09-04 15:23:21 -07:00
export { ActivityTypes, createBot, editBotNickname, editBotStatus, Intents, sendMessage, startBot, getReactions } from 'https://deno.land/x/discordeno@13.0.0/mod.ts';
2022-09-01 23:48:28 -07:00
export type { Bot, CreateMessage, Emoji, EventHandlers, Guild, Member, Message, User } from 'https://deno.land/x/discordeno@13.0.0/mod.ts';
2022-09-01 21:53:43 -07:00
export { Client } from 'https://deno.land/x/mysql@v2.10.2/mod.ts';
export { initLog, log, LogTypes as LT } from 'https://raw.githubusercontent.com/Burn-E99/Log4Deno/V1.1.1/mod.ts';