https://discord.gg/botpress logo
A way to debounce the user inputs
# 👀feature-requests
e
A way o method to catch for a time all the messages from the user I mean, when the user send a message, the bot start processing logic, but if meanwhile the bot is processing, the user sometimes send a second message that is ignored until the bot ends the processing the first. So, the idea is to handle all the messages the user sends for a time range
l
The only way it could work is to disregard the current processing, if it received a message before completion. Then reprocess basis the last list of conversation. This can potentially break the system as processes sometimes tend not to die. Or If a message is received before the reply for the last response was sent, then ignore the reply, bot goes one step back and reprocess the incoming messages as a single list and then responds. I think this is doable
e
@limited-pencil-78283 ey Lijo, thanks for your message You mean something like the diagram image? My questions are now, what criteria is suggested to ignore or not the message, what if the second message is part of the first one? How could back in the conversation? https://cdn.discordapp.com/attachments/1377484410957463572/1387628913722921111/image.png?ex=685e09a1&is=685cb821&hm=3101f5a760ec28d2b038561b3f5059194aad27946c73d3c867a9debc29359046&
w
Jorge, there is a workaround here on discord that may help you with that. I'm having the same problem. For my use case, it didn't work but maybe on your case works better https://discordapp.com/channels/1108396290624213082/1272647969866252453 PS: Are you Brazilian? If so, good to know a fellow here
While the botpress team don't create that feature, maybe it could help
e
Hi @witty-tomato-34693 I'm Mexican, indeed I tried downloading the bot, but I’m having trouble implementing it. It doesn’t seem to work on its own.