diff --git a/src/commands/admin/rename-channel.ts b/src/commands/admin/rename-channel.ts index 0b5c439..ef92e35 100644 --- a/src/commands/admin/rename-channel.ts +++ b/src/commands/admin/rename-channel.ts @@ -13,7 +13,7 @@ import { CreateDefaultEmbed, SetSeverity } from '../../utils'; .setContexts(Constants.InteractionContextType.Guild) .setCommandType(Constants.ApplicationCommandType.ChatInput) .setMemberPermission(Constants.PermissionFlagsBits.ManageChannels) - .addStringOption({ name: 'name', description: 'The new general chat name.', required: true }) + .addStringOption({ name: 'name', description: 'The new general chat name.', required: true, max_length: 32 }) ) class RenameGeneralCommand extends Command { cooldown = 360;