How do i change the type of the modal text input?
This code serve the purpose to check if the user’s input premium code in the premium code array. Though, the type of modal textinput is <class ‘discord.ui.text_input.TextInput’>, while i need it to be in str for it to work. And yes, i tried str(), it still doesn’t work. How do i compare values ignoring its type or how do i change discord.ui.text_input.TextInput type to string? Any help?