aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/valentines/savethedate.py (follow)
Commit message (Collapse)AuthorAgeLines
* Move Valentines to Holidays folderGravatar Janine vN2021-09-04-38/+0
| | | | | Moves the valentine's day features to the holidays folders. Corrected the paths to reflect the folder moves.
* chore: Use pathlib.Path.read_text & write_text over openGravatar ToxicKidz2021-05-13-3/+2
|
* fix: Pass bot only when __init__ is definedGravatar ToxicKidz2021-05-04-1/+1
|
* chore: Prefer double quotes over single quotesGravatar ToxicKidz2021-05-04-1/+1
|
* chore: Clean Up the Valentines SeasonGravatar ToxicKidz2021-05-03-5/+3
| | | | | | - Change commands.Bot type hints to bot.Bot - Remove the setting of Cog.bot if it isn't being used - Change ctx.author -> ctx.message.author
* 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/+42
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.