mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 16:57:22 +00:00
change: prettier code
This commit is contained in:
committed by
GitHub Action
parent
0f1f02d0b7
commit
cfd0406ee2
+2
-2
@@ -138,7 +138,7 @@ export function createBot<C extends CacheOptions = CacheOptions>(
|
||||
activeGuildIds: new Set<bigint>(),
|
||||
constants: createBotConstants(),
|
||||
handlers: createBotGatewayHandlers({}),
|
||||
}
|
||||
};
|
||||
|
||||
// @ts-ignore itoh cache types plz
|
||||
bot.cache = createCache(bot as Bot, options.cache);
|
||||
@@ -275,7 +275,7 @@ export function setupBot(bot: Bot) {
|
||||
export async function startBot(bot: Bot) {
|
||||
// SETUP BOT
|
||||
bot = setupBot(bot);
|
||||
|
||||
|
||||
// START REST
|
||||
bot.rest = createRestManager({ token: bot.token, debug: bot.events.debug });
|
||||
if (!bot.botGatewayData) bot.botGatewayData = await bot.helpers.getGatewayBot();
|
||||
|
||||
Reference in New Issue
Block a user