mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 18:57:03 +02:00
fix: no dev mode
This commit is contained in:
1 parent
8cae642243
commit
23974ee83a
1 file changed
+1
-2
@@ -32,7 +32,6 @@ import { searchClansCommand } from '../../commands/searchClans';
|
|||||||
import { searchPlayersCommand } from '../../commands/searchPlayers';
|
import { searchPlayersCommand } from '../../commands/searchPlayers';
|
||||||
import { statsCommand } from '../../commands/stats';
|
import { statsCommand } from '../../commands/stats';
|
||||||
import { todayCommand } from '../../commands/today';
|
import { todayCommand } from '../../commands/today';
|
||||||
import isDev from '../../core/blitzkit/isDev';
|
|
||||||
import { RenderConfiguration } from '../../core/blitzkit/renderConfiguration';
|
import { RenderConfiguration } from '../../core/blitzkit/renderConfiguration';
|
||||||
import { secrets } from '../../core/blitzkit/secrets';
|
import { secrets } from '../../core/blitzkit/secrets';
|
||||||
import handleAutocomplete from './handlers/autocomplete';
|
import handleAutocomplete from './handlers/autocomplete';
|
||||||
@@ -109,7 +108,7 @@ export const commands = Promise.allSettled(COMMANDS_RAW).then((rawCommands) => {
|
|||||||
|
|
||||||
return commands;
|
return commands;
|
||||||
}
|
}
|
||||||
if (isDev()) registry.value.command.setDefaultMemberPermissions(0);
|
|
||||||
return { ...commands, [registry.value.command.name]: registry.value };
|
return { ...commands, [registry.value.command.name]: registry.value };
|
||||||
},
|
},
|
||||||
{},
|
{},
|
||||||
|
|||||||
Reference in new issue
Block a user