From 732a3bb87acd1e6c8e500f1615a549b311961bea Mon Sep 17 00:00:00 2001 From: "Federico \"fuji97\" Rapetti" Date: Thu, 13 Jan 2022 12:51:56 +0100 Subject: [PATCH] Fix typo in guild-create.ts --- src/events/guild-create.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/events/guild-create.ts b/src/events/guild-create.ts index c305527..008e22b 100644 --- a/src/events/guild-create.ts +++ b/src/events/guild-create.ts @@ -17,7 +17,7 @@ export default async (guild: Guild): Promise => { const config = container.get(TYPES.Config); // Setup slash commands - if (config.IS_PRODUCTION) { + if (!config.IS_PRODUCTION) { const commands: ApplicationCommandData[] = container.getAll(TYPES.Command) .filter(command => command.slashCommand?.name) .map(command => command.slashCommand as ApplicationCommandData);