-
-
Notifications
You must be signed in to change notification settings - Fork 405
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bot: round rate limit
time_left
value up, eliminate microseconds
This makes rate limit feedback from the bot more readable. We could go full-on custom format, but honestly the built-in string representation of a timedelta is perfectly serviceable if you get rid of the microseconds portion. (How you get there is pretty ugly, but it's not AS bad as a whole new helper function in `tools.time`.)
- Loading branch information
Showing
2 changed files
with
9 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters