Transcribe command descriptions and call localize

This commit is contained in:
tacheometry committed 2023-12-15 14:42:36 +02:00
1 parent 46d1cfb008
commit 2cfab3209b
28 files changed
+578 -181

No files matched your search

+2 -3
View File
@@ -10,12 +10,11 @@ import { BaseSlashCommandInteraction } from '../../../classes/interactions';
import { ExtendedClient } from '../../../types/clientTypes';
import { BaseSlashCommandParams, BaseSlashCommandReturnType } from '../../../types/interactionTypes';
import { checkValidGuildId } from '../../../utils/validation/systemCommandValidator';
import { localizeCommand } from '../../../common/localeUtil';
class ReloadCommand extends BaseSlashCommandInteraction {
constructor() {
const data = new SlashCommandBuilder()
.setName('reload')
.setDescription('Reload slash command, autocomplete and component interactions across shards.');
const data = localizeCommand(new SlashCommandBuilder().setName('reload'));
const isSystemCommand: boolean = true;
super(data, isSystemCommand);
}