Skip to content

Commit

Permalink
Update link for TextInputStyle
Browse files Browse the repository at this point in the history
  • Loading branch information
lukellmann committed Sep 18, 2023
1 parent a1eb5f7 commit d869b4e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import kotlinx.serialization.encoding.Encoder
* Style of a [text input][dev.kord.common.entity.ComponentType.TextInput].
*
* See [TextInputStyle]s in the
* [Discord Developer Documentation](https://discord.com/developers/docs/interactions/message-components#text-inputs-text-input-styles).
* [Discord Developer Documentation](https://discord.com/developers/docs/interactions/message-components#text-input-object-text-input-styles).
*/
@Serializable(with = TextInputStyle.Serializer::class)
public sealed class TextInputStyle(
Expand Down
2 changes: 1 addition & 1 deletion common/src/commonMain/kotlin/entity/DiscordComponent.kt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
@file:Generate(
INT_KORD_ENUM, name = "TextInputStyle",
kDoc = "Style of a [text·input][dev.kord.common.entity.ComponentType.TextInput].",
docUrl = "https://discord.com/developers/docs/interactions/message-components#text-inputs-text-input-styles",
docUrl = "https://discord.com/developers/docs/interactions/message-components#text-input-object-text-input-styles",
entries = [
Entry("Short", intValue = 1, kDoc = "A single-line input."),
Entry("Paragraph", intValue = 2, kDoc = "A multi-line input."),
Expand Down

0 comments on commit d869b4e

Please sign in to comment.