tempest icon indicating copy to clipboard operation
tempest copied to clipboard

Add min and max_length to Component struct

Open slowcooked99 opened this issue 1 year ago • 1 comments

Description

Adds the fields min_length and max_length to the Component structure, I noticed they were missing.

These fields are used on the Text Input Component, see docs: https://discord.com/developers/docs/interactions/message-components#text-input-object

slowcooked99 avatar Aug 21 '24 18:08 slowcooked99

Hi @amatsagu, mind giving this PR a review when you get a chance?

slowcooked99 avatar Aug 29 '24 19:08 slowcooked99

Sure, sorry for late reply - I was kinda away from any programming for a while but now I'm back. I see Discord API docs site changed a lot but it seems to be correct.

amatsagu avatar Oct 10 '24 20:10 amatsagu