| Commit message (Collapse) | Author | Age | Lines |
| ... | |
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Hooks added:
* check-merge-conflict - checks for files with merge conflict strings
* check-toml - attempts to load all toml files to verify syntax
* check-yaml - attempts to load all yaml files to verify syntax
* end-of-file-fixer - ensures files end in a newline and only a newline
* mixed-line-ending - replaces mixed line endings with LF
* trailing-whitespace - trims trailing whitespace
* python-check-blanket-noqa - enforces that noqa annotations always
occur with specific codes
Changes made to comply with new hooks:
* Remove trailing whitespaces
* Convert some CRLF files to LF
* Remove noqa and add missing type annotations
* Add missing newlines at end of files
See: python-discord/organisation#138
|
| |/ / / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The pipfile will need to be re-locked to add a dependency so may as well
re-pin some dependencies to reflect the more recent versions that will
be used. discord.py was pinned to a patch version instead of a minor
version to be on the safe side.
Notable updates:
* discord.py -> 1.3.2
* flake8-annotation -> 2.0
* pre-commit -> 2.1
|
| |\ \ \ \ \
| | | | | |
| | | | | | |
Added .games command
|
| | |\ \ \ \ \
| |/ / / / /
|/| | | | | |
|
| |\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Strip references to seasonalbot chat
|
| |/ / / / / /
| | | | | |
| | | | | |
| | | | | | |
Redirect any output to seasonalbot commands, where relevant
|
| | | | | | |
| | | | | |
| | | | | | |
The log channels have become one
|
| |\ \ \ \ \ \
| |_|/ / / /
|/| | | | | |
Icon switch frequency
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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.
|
| | | | | |
| | | | |
| | | | |
| | | | | |
get_close_matches.
|
| | | | | |
| | | | |
| | | | |
| | | | | |
everywhere.
|
| | | | | |
| | | | |
| | | | |
| | | | | |
`difflib.get_close_matches` cutoff from 0.6 (default) to 0.4.
|
| | | | | |
| | | | |
| | | | |
| | | | | |
support for .games command, modified docstring to explain this and added str.title() to embed title genre showing.
|
| | | | | |
| | | | |
| | | | |
| | | | | |
lines.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | | |
dict.items())
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | | |
get_companies_list.
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | | |
token check on load. Other small code improvisations.
|
| | | | | |
| | | | |
| | | | |
| | | | | |
to constants.py.
|
| | | | | |
| | | | |
| | | | | |
Co-Authored-By: Thomas Petersson <[email protected]>
|
| | |\ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
# Conflicts:
# bot/seasons/evergreen/game.py
|
| | |/ / / /
|/| | | |
| | | | |
| | | | | |
to constants.py.
|
| |/ / / /
| | | |
| | | |
| | | | |
to constants.py.
|
| | | | |
| | | |
| | | |
| | | | |
Extensions are no longer bound to their respective seasons.
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
The season module can now be safely deleted, as everything defined here
has either been removed or moved elsewhere.
|
| | | | |
| | | |
| | | |
| | | | |
See docstring for further details.
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | | |
For now, we will keep the base class with annotated attrs.
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
Commands decorated with in_month can only be used in one of the allowed
months.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This is a safe way to specify which months a command can be used in.
The enum's values behave as ints when being passed to the datetime.date
initialiser.
|
| | | | |\
| |_|_|/
|/| | | |
|
| |\ \ \ \
| | | | |
| | | | | |
Fix the Pagination cog
|
| | |\ \ \ \
| |/ / / /
|/| | | | |
|
| |\ \ \ \ \
| | | | | |
| | | | | | |
.movie Command Adding
|
| | |\ \ \ \ \
| |/ / / / /
|/| | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
smaller. Added warning loggings. Better Some Numbers section formatting.
|