aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/evergreen/reddit.py (follow)
Commit message (Collapse)AuthorAgeLines
* Fix spelling of a user facing message in reddit cogGravatar ChrisJL2021-04-23-1/+1
| | | Co-authored-by: Xithrius <[email protected]>
* Fix errors when a subreddit has <5 posts.Gravatar Chris2021-04-22-2/+2
| | | | | | If a subreddit has <2 posts, the posts[1] check would fail with an IndexError. If the subreddit had less that 5 posts, then the k=5 check would also error. These changes harden the command for these edge cases.
* fix `reddit` command to use new emojis.Gravatar Senjan212020-09-17-3/+3
|
* Deseasonify: log in `add_cog` rather than in each `setup`Gravatar kwzrd2020-03-28-1/+0
| | | | | | | | | | | | The previous system required each extension's `setup` func to log that the cog was loaded. This leads to inconsistent messages all trying to convey the same thing, variable logger names in the output file are difficult to read, and several extensions were not logging at all. By logging directly in the `add_cog` method, we reduce code repetition, ensure consistent format, and remove the responsibility to remember that a log should be made.
* Deseasonify: rename `seasons` pkg to `exts`Gravatar kwzrd2020-03-28-0/+129
It is believed that this is now a more logical name for the package, as extensions no longer bind to seasons. Internally, packages are still grouped into seasonal sub-packages. There are quite a few, and it makes sense to group them by a common theme that inspired their functionality.