From 6f83ffb040cb3fd1cf4a6272e7870d5e28e1b380 Mon Sep 17 00:00:00 2001 From: barthofu Date: Tue, 30 Jan 2024 14:27:43 +0000 Subject: [PATCH] feat(#134): type discordx client config --- src/client.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client.ts b/src/client.ts index 398fb896..47891575 100644 --- a/src/client.ts +++ b/src/client.ts @@ -4,7 +4,7 @@ import { generalConfig, logsConfig } from "@configs" import { ExtractLocale, Maintenance, NotBot, RequestContextIsolator } from "@guards" import { ClientOptions } from "discordx" -export const clientConfig = () => ({ +export const clientConfig = (): ClientOptions => ({ // to only use global commands (use @Guild for specific guild command), comment this line botGuilds: process.env.NODE_ENV === 'development' ? [process.env.TEST_GUILD_ID] : undefined, @@ -42,4 +42,4 @@ export const clientConfig = () => ({ prefix: generalConfig.simpleCommandsPrefix, } -}); \ No newline at end of file +}) \ No newline at end of file