| Commit message (Collapse) | Author | Lines |
|
The log channels have become one
|
|
The `load_seasons` task now has an internal state, which increments for
every day. Before cycling the icon within the same season, first check
whether we've waited the configured amount of days since the last cycle.
Entering a new season, or changing the icon, resets the state to 0.
This allows us to slow down the rate at which we cycle icons, addressing
a bug where the icon wasn't loading for some users.
|
|
|
|
This is a lot more readable than just 86400.
|
|
|
|
|
|
smaller. Added warning loggings. Better Some Numbers section formatting.
|
|
|
|
|
|
|
|
|
|
Changed the pagination emoji collection from list to tuple
This change was suggested since this collection is constant
|
|
Clicking on [:trashcan:] broke the loop and deleted the message,
instead, now we return after a message deletion and break when
an `asyncio.TimeoutError` is raised
(when a user fails to add reactions in time)
|
|
Switched the emoji used to clear the reactions of a paginator [":x:"]
With [":trashcan:"], Clicking on this emoji deletes the message
|
|
When using pagination in the Reddit cog, clicking the LAST_EMOJI would
raise an exception like this:
TypeError: unsupported operand type(s) for -: 'list' and 'int'
This was resolved by taking the subtraction out of the len() function.
|
|
fixed type hints.
|
|
|
|
|
|
things more dynamical.
|
|
added alias .movie
|
|
GH wasn't making use of the metadata section the same way as the issue templates do, so they appeared in the pre-fill, confusing contributors. This removes the section entirely to prevent the confusion.
|