First, sorry if this is the wrong section, I'm new here.
My question is this: I'm working on a small project to create a Discord bot that uses the Basic version of Cloud Translation to translate messages for international users. I've been able to set it up using Python by following the guide, and everything works how I want it, however I want to make sure I stay under the 500,000 characters per month to make sure I'm not billed for it. Is there a way to ensure I stay under this limit? I've been looking through the dashboard and have found options to limit the quotas for characters per minute and per day, but no option for per month.
I'm okay with the translation stopping if I reach the limit, I just want to keep it at or below 500,000, but can't see if there's a way to do so. Thanks for any help in advance!
Have you found a solution? I want to achieve the same objective
I did not find a way through Google themselves. However, it occurs to me that it could be done through the code itself - just keep a log of the characters sent and then pause once a certain limit is reached.
User | Count |
---|---|
24 | |
15 | |
4 | |
2 | |
1 |