Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Deseasonify: rename `seasons` pkg to `exts` | 2020-03-28 | -5409/+0 | |
| | | | | | | | | | 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. | |||
* | Deseasonify: info log on help cog load | 2020-03-28 | -0/+5 | |
| | | | | Keep it consistent with all other cogs. | |||
* | Deseasonify: move branding extension under evergreen pkg | 2020-03-28 | -0/+504 | |
| | ||||
* | Deseasonify: move help extension under evergreen pkg | 2020-03-28 | -0/+549 | |
| | ||||
* | Deseasonify: move decorators module under utils | 2020-03-28 | -4/+4 | |
| | ||||
* | Deseasonify: move pagination module under utils | 2020-03-26 | -4/+3 | |
| | ||||
* | Deseasonify: move exceptions module under utils | 2020-03-26 | -1/+1 | |
| | ||||
* | Deseasonify: move bookmark icon under `Icons` constants | 2020-03-24 | -2/+2 | |
| | ||||
* | Deseasonify: handle BrandingError | 2020-03-22 | -0/+5 | |
| | ||||
* | Merge master into seasonal-purge | 2020-03-21 | -0/+444 | |
|\ | | | | | | | | | Most importantly this adds the Python 3.8 bump, plus unrelated features merged in the meantime. | |||
| * | Merge branch 'master' into battleships | 2020-03-20 | -70/+792 | |
| |\ | ||||
| * | | Battleships - change hard-coded strings in subcommand | 2020-03-20 | -2/+2 | |
| | | | | | | | | | Co-Authored-By: Karlis S. <[email protected]> | |||
| * | | Battleships - alter positioning of some comments | 2020-03-05 | -5/+10 | |
| | | | ||||
| * | | Applied suggestions from code review for Battleships | 2020-03-01 | -18/+60 | |
| | | | ||||
| * | | Applied suggestions from code review for Battleships | 2020-02-07 | -199/+209 | |
| | | | ||||
| * | | Merge branch 'master' into battleships | 2020-02-06 | -283/+1143 | |
| |\ \ | ||||
| * | | | Post results and boards to initial channel | 2019-08-05 | -6/+34 | |
| | | | | ||||
| * | | | Battleships Game | 2019-08-05 | -0/+359 | |
| | | | | ||||
* | | | | Deseasonify: improve `in_month` command check | 2020-03-15 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Raise a custom exception if the command fails. This is then handled in the error handler, and the user will be informed of which months allow the invoked command. | |||
* | | | | Deseasonify: remove `Evergreen` season | 2020-03-08 | -17/+0 | |
| |_|/ |/| | | | | | | | | | | | The `SeasonBase` now serves as the fallback, off-season season for when no other season is available. | |||
* | | | Add more pre-commit hooks | 2020-03-04 | -65/+65 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | |||
* | | | Update dependencies | 2020-03-04 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | |||
* | | | Merge branch 'master' into games-command | 2020-03-05 | -3/+2 | |
|\ \ \ | ||||
| * | | | Strip references to seasonalbot chat | 2020-03-01 | -3/+2 | |
| | | | | | | | | | | | | | | | | Redirect any output to seasonalbot commands, where relevant | |||
* | | | | (Games Cog): Added space between game search result + removed cutoff in ↵ | 2020-03-04 | -2/+2 | |
| | | | | | | | | | | | | | | | | get_close_matches. | |||
* | | | | (Games Cog): Moved `string.Template` to `str.format()`, applied changes ↵ | 2020-03-04 | -51/+37 | |
| | | | | | | | | | | | | | | | | everywhere. | |||
* | | | | (Games Cog): Moved self.genres to __init__ and added type hints. Added lower ↵ | 2020-03-04 | -3/+3 | |
| | | | | | | | | | | | | | | | | `difflib.get_close_matches` cutoff from 0.6 (default) to 0.4. | |||
* | | | | (Games Cog): Replaced - with space in genre aliases, added multiword genres ↵ | 2020-03-04 | -9/+10 | |
| | | | | | | | | | | | | | | | | support for .games command, modified docstring to explain this and added str.title() to embed title genre showing. | |||
* | | | | (Games Cog): Remove too much empty lines in .games search command, simplify ↵ | 2020-03-04 | -1/+1 | |
| | | | | | | | | | | | | | | | | lines. | |||
* | | | | (Games Cog): Stop refreshing genres task when Cog unload | 2020-03-04 | -0/+5 | |
| | | | | ||||
* | | | | (Games Cog): Added try block to genres refresh task. | 2020-03-04 | -1/+6 | |
| | | | | ||||
* | | | | (Games Cog): Added .games refresh|r command for refreshing genres. | 2020-03-04 | -1/+13 | |
| | | | | ||||
* | | | | (Games Cog): Created task for fetching genres (every hour) | 2020-03-04 | -2/+7 | |
| | | | | ||||
* | | | | (Games Cog): Fixed _get_genres function looping over genres (started using ↵ | 2020-03-04 | -5/+5 | |
| | | | | | | | | | | | | | | | | dict.items()) | |||
* | | | | (Games Cog): Fixed get_games_list calling formatting at L192 | 2020-03-04 | -2/+1 | |
| | | | | ||||
* | | | | (Games Cog): Fixed companies list generating code (.games <genre> command). | 2020-03-02 | -3/+2 | |
| | | | | ||||
* | | | | (Games Cog): Added comments about offsets, use keyword parameters for ↵ | 2020-03-02 | -1/+5 | |
| | | | | | | | | | | | | | | | | get_companies_list. | |||
* | | | | (Games Cog): Fixed and added content to docstrings. | 2020-03-02 | -2/+7 | |
| | | | | ||||
* | | | | (Games Cog): Moved layouts, request bodies and URLs to Templates. Added ↵ | 2020-02-28 | -162/+213 | |
| | | | | | | | | | | | | | | | | token check on load. Other small code improvisations. | |||
* | | | | Added .games command with all it's subcommands, added IGDB token requirement ↵ | 2020-02-25 | -19/+4 | |
| | | | | | | | | | | | | | | | | to constants.py. | |||
* | | | | Remove keys() from total_rating count (Games Cog) | 2020-02-25 | -1/+1 | |
| | | | | | | | | | | | | Co-Authored-By: Thomas Petersson <[email protected]> | |||
* | | | | Added .games command with all it's subcommands, added IGDB token requirement ↵ | 2020-02-25 | -0/+338 | |
|/ / / | | | | | | | | | | to constants.py. | |||
* | | | Fixed comments in Movie cog | 2020-02-18 | -2/+2 | |
| | | | ||||
* | | | Fixed error message for less than 1 movie check. | 2020-02-18 | -1/+1 | |
| | | | ||||
* | | | Added .movies genres|genre|g command. Made .movies command docstring ↵ | 2020-02-17 | -46/+42 | |
| | | | | | | | | | | | | smaller. Added warning loggings. Better Some Numbers section formatting. | |||
* | | | Small style fixes: removed unnecessary comments, made ifs easier readable, ↵ | 2020-02-16 | -26/+17 | |
| | | | | | | | | | | | | fixed type hints. | |||
* | | | Moved get_random_movies to Movie cog and made this to smaller functions. | 2020-02-15 | -141/+128 | |
| | | | ||||
* | | | Replaced check from Enum members to try-except block. | 2020-02-14 | -5/+4 | |
| | | | ||||
* | | | Made .movies command genres getting ID and name check to Enum, also made ↵ | 2020-02-14 | -57/+33 | |
| | | | | | | | | | | | | things more dynamical. | |||
* | | | Moved .movies command genres from subcommands to if-elif-else statement, ↵ | 2020-02-14 | -328/+96 | |
| | | | | | | | | | | | | added alias .movie |