diff options
| author | Federico "fuji97" Rapetti <[email protected]> | 2022-01-13 12:51:56 +0100 |
|---|---|---|
| committer | Federico "fuji97" Rapetti <[email protected]> | 2022-01-13 12:51:56 +0100 |
| commit | 732a3bb87acd1e6c8e500f1615a549b311961bea (patch) | |
| tree | d056b9c833be6e1868d86cb8453d9f52fbae000f /src | |
| parent | 03fdf1aab7ff5278f22c7dda9fc77e49c458d76a (diff) | |
| download | muse-732a3bb87acd1e6c8e500f1615a549b311961bea.tar.xz muse-732a3bb87acd1e6c8e500f1615a549b311961bea.zip | |
Fix typo in guild-create.ts
Diffstat (limited to 'src')
| -rw-r--r-- | src/events/guild-create.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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<void> => { const config = container.get<Config>(TYPES.Config); // Setup slash commands - if (config.IS_PRODUCTION) { + if (!config.IS_PRODUCTION) { const commands: ApplicationCommandData[] = container.getAll<Command>(TYPES.Command) .filter(command => command.slashCommand?.name) .map(command => command.slashCommand as ApplicationCommandData); |
