mirror of
https://github.com/BluemediaDev/muse.git
synced 2024-11-26 20:02:06 +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);
|
const config = container.get<Config>(TYPES.Config);
|
||||||
|
|
||||||
// Setup slash commands
|
// Setup slash commands
|
||||||
if (config.IS_PRODUCTION) {
|
if (!config.IS_PRODUCTION) {
|
||||||
const commands: ApplicationCommandData[] = container.getAll<Command>(TYPES.Command)
|
const commands: ApplicationCommandData[] = container.getAll<Command>(TYPES.Command)
|
||||||
.filter(command => command.slashCommand?.name)
|
.filter(command => command.slashCommand?.name)
|
||||||
.map(command => command.slashCommand as ApplicationCommandData);
|
.map(command => command.slashCommand as ApplicationCommandData);
|
||||||
|
|
Loading…
Reference in a new issue