https://discord.gg/botpress logo
Avoiding User Spamming my chatbot ?
# 🤝help
b
Is there any way to limit the number of requests on a user device within a selectable time period? I want to avoid the risk of users spamming my chatbot credits. 🥺
p
You can use a userId table to count the number of messages or conversations a user has had. If they're above the quota, redirect to an end node and else let them converse. You can also reset the table after your select time period. However, there are no prebuilt solutions for this. Hope it helps!
b
thank you
p
No worries!