Skip to content

Commit

Permalink
feat(#134): type discordx client config
Browse files Browse the repository at this point in the history
  • Loading branch information
barthofu committed Jan 30, 2024
1 parent add934f commit 6f83ffb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -42,4 +42,4 @@ export const clientConfig = () => ({
prefix: generalConfig.simpleCommandsPrefix,
}

});
})

0 comments on commit 6f83ffb

Please sign in to comment.