tempest
tempest copied to clipboard
Add min and max_length to Component struct
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
Hi @amatsagu, mind giving this PR a review when you get a chance?
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.