mirror of
https://github.com/BluemediaGER/muse.git
synced 2024-11-12 21:05:29 +01:00
Fix typo in guild-create.ts
This commit is contained in:
parent
03fdf1aab7
commit
732a3bb87a
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue