From f14dd45cd132ceb2849a38c9921c54f3da054e75 Mon Sep 17 00:00:00 2001 From: itohatweb Date: Thu, 28 Oct 2021 20:57:21 +0000 Subject: [PATCH] change: prettier code --- src/bot.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bot.ts b/src/bot.ts index 8c809628b..172e86d9b 100644 --- a/src/bot.ts +++ b/src/bot.ts @@ -123,7 +123,7 @@ type CacheOptions = export function createBot( options: CreateBotOptions ): Bot { - return ({ + return { id: options.botId, applicationId: options.applicationId || options.botId, token: `Bot ${options.token}`, @@ -260,7 +260,7 @@ export function createBot( // }, // }, // }, - } as unknown) as Bot; + } as unknown as Bot; } export function createEventHandlers(events: Partial): EventHandlers {