umitkaanusta/MacTahminBotu

Time gap

umitkaanusta opened this issue · 0 comments

The bot requires you to have an at least 15 seconds gap before asking for another tip (/kupon command). Currently there is time.sleep(15) as a band-aid, however it could be improved by getting the time from a website (Getting system time would not work) and waiting for the next request. Then the bot would check whether 15 seconds passed after the first tip request.

Currently I am overwhelmed with school and internship but this issue gives me a slight distress :p would be happy if someone fixes it :)