#Modal error in discord
1 messages · Page 1 of 1 (latest)
are you doing a interaction.response.send_message in the modal callback?
bc yeah, the modal needs to respond in some way
No, the callback is just
async def callback(self, interaction: discord.Interaction):
input = self.children[0].value
distance = fuzz.ratio(prompt,input)
print(f"User replied with \"{input}\" for \"{prompt}\" with distance of {distance}.")```
I do plan to have it edit the original response message though. I assume that'll fix it then?
ye, it just needs some sort of response