Interaction already deferred.
https://github.com/KiraKenjiro/bot
The bot at the moment works almost perfectly. qj's been a saviour and helped me with it but i am struggling with once thing. as the model embed is sent, (via clicking on the modalsEmbed button that was sent in the embed command) there is a 5 minute timer that is started. After 5 minutes has elapsed, if the user hasn’t filled in the consent form (checked by ckecing if there is a value in the consent field in the (i think) accounts table).
(at the moment it's set to i think 45 seconds just for testing. e.g. 0.45 * 60 * 1000)
But when the timer elapsed I got this error. (Provided half log)
I think... It's talking about this section of code from lines 81 to 89 in the file modalsEmbed.js
(There is an issue where i forgot to update it with the right description but, you get the idea it would update it to something like, oops, form timed out)
I'm not entirely too sure whats happening but it may be due to the embed being sent at 102 to 106 as, i have a slight feeling thats the interaction i want to update and im trying to update the interaction before. This is just a guess but i'd love a second opinion on this <3
--- Edit: I'm pretty sure im trying to edit the interaction before the interaction i want to edit. not too sure if thats worded right but alas
The bot at the moment works almost perfectly. qj's been a saviour and helped me with it but i am struggling with once thing. as the model embed is sent, (via clicking on the modalsEmbed button that was sent in the embed command) there is a 5 minute timer that is started. After 5 minutes has elapsed, if the user hasn’t filled in the consent form (checked by ckecing if there is a value in the consent field in the (i think) accounts table).
(at the moment it's set to i think 45 seconds just for testing. e.g. 0.45 * 60 * 1000)
But when the timer elapsed I got this error. (Provided half log)
I think... It's talking about this section of code from lines 81 to 89 in the file modalsEmbed.js
(There is an issue where i forgot to update it with the right description but, you get the idea it would update it to something like, oops, form timed out)
I'm not entirely too sure whats happening but it may be due to the embed being sent at 102 to 106 as, i have a slight feeling thats the interaction i want to update and im trying to update the interaction before. This is just a guess but i'd love a second opinion on this <3
--- Edit: I'm pretty sure im trying to edit the interaction before the interaction i want to edit. not too sure if thats worded right but alas
GitHub
Contribute to KiraKenjiro/bot development by creating an account on GitHub.