cob007 19 Posted January 21, 2020 Report Share Posted January 21, 2020 Hello, Let us say i want user to be able to perform 50 search requests per day and after 50 searches he cant do a new search even if he closes and restarts the bot, how to do a rate limit in this situation Quote Link to post Share on other sites
HelloInsomnia 1103 Posted January 21, 2020 Report Share Posted January 21, 2020 Save it somewhere like a file for example and check against that when the bot starts up. Encrypt the text so they don't know what it is. If you want a bit more security then check against a server and encrypt the message. Nothing is 100% tamper proof but it would stop most. Quote Link to post Share on other sites
PRO 69 Posted January 21, 2020 Report Share Posted January 21, 2020 Having the quota limit managed by a web server is the most secure way. Local files are the cheaper and less secure way. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.