diff --git a/src/helpers/channels/createStageInstance.ts b/src/helpers/channels/createStageInstance.ts index abbedc881..685d6249b 100644 --- a/src/helpers/channels/createStageInstance.ts +++ b/src/helpers/channels/createStageInstance.ts @@ -4,10 +4,6 @@ import { PrivacyLevel } from "../../types/channels/privacyLevel.ts"; /** Creates a new Stage instance associated to a Stage channel. Requires the user to be a moderator of the Stage channel. */ export async function createStageInstance(bot: Bot, channelId: bigint, topic: string, privacyLevel?: PrivacyLevel) { - if (!bot.utils.validateLength(topic, { max: 120, min: 1 })) { - throw new Error(bot.constants.Errors.INVALID_TOPIC_LENGTH); - } - const result = await bot.rest.runMethod(bot.rest, "post", bot.constants.endpoints.STAGE_INSTANCES, { channel_id: channelId.toString(), topic,