aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/halloween/timeleft.py (follow)
Commit message (Collapse)AuthorAgeLines
* Move AoC and Hacktoberfest into events folderGravatar Janine vN2021-09-04-67/+0
| | | | | | | | | | Moves Advent of Code and Hacktoberfest into an events folder. Although these are roughly associated with holidays, they are standalone events that we have participated in in the past. Therefore they're being moved to an events folder separate from the "fun" or "holidays" folders.
* Fix type annotationsGravatar decorator-factory2021-08-31-2/+1
|
* fix: Pass bot only when __init__ is definedGravatar ToxicKidz2021-05-04-4/+1
|
* Clean Up the Halloween SeasonGravatar ToxicKidz2021-04-19-3/+5
| | | | | | | | | - Change commands.Bot type hints to bot.Bot - Remove the setting of Cog.bot if it isn't being used - Use Bot.http_session instead of creating new ones - Keep string quotes and Doc-Strings consistant - Remove redundant/outdated code Ignored spookyavatar.py as it is being moved in another PR.
* Improve formatting in timeleftGravatar Joe Banks2020-10-01-2/+5
|
* Update timeleft to not be locked to OctoberGravatar Joe Banks2020-09-30-11/+18
|
* 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/+60
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.