| Commit message (Collapse) | Author | Age | Lines | |
|---|---|---|---|---|
| * | (Space Cog): Fixed function signatures and `ctx.send` `embed` value formatting. | 2020-03-14 | -26/+36 | |
| | | ||||
| * | Merge remote-tracking branch 'origin/space-cog' into space-cog | 2020-03-11 | -119/+523 | |
| |\ | ||||
| | * | Merge branch 'master' into space-cog | 2020-03-07 | -119/+523 | |
| | |\ | ||||
| | | * | Add more pre-commit hooks | 2020-03-04 | -91/+89 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | -11/+11 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | -17/+27 | |
| | | |\ | ||||
| | | | * | Strip references to seasonalbot chat | 2020-03-01 | -14/+12 | |
| | | | | | | | | | | | | | | | | | Redirect any output to seasonalbot commands, where relevant | |||
| | | | * | Update devlog channel constant | 2020-02-25 | -1/+1 | |
| | | | | | | | | | | | | | The log channels have become one | |||
| | | | * | Cycle icons within season in configured interval only | 2020-02-23 | -1/+12 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | |||
| | | | * | Add icon cycle frequency constant | 2020-02-23 | -0/+1 | |
| | | | | | ||||
| | | | * | Calculate seconds as n_hours * seconds_in_hour | 2020-02-23 | -1/+1 | |
| | | | | | | | | | | | | | | | | | This is a lot more readable than just 86400. | |||
| | | * | | (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/+339 | |
| | | |/ | | | | | | | | | | to constants.py. | |||
| * | | | (Space Cog): Clean comments | 2020-03-11 | -19/+0 | |
| | | | | ||||
| * | | | (Space Cog): Use `fetch_from_nasa` in every command + make modification to ↵ | 2020-03-11 | -8/+11 | |
| | | | | | | | | | | | | | it to work correctly. | |||
| * | | | (Space Cog): Create new helper function `create_nasa_embed` and apply this ↵ | 2020-03-11 | -23/+23 | |
| | | | | | | | | | | | | | to commands. | |||
| * | | | (Space Cog): Added information about when date is not specified to `.space ↵ | 2020-03-11 | -1/+5 | |
| | | | | | | | | | | | | | apod` command docstring | |||
| * | | | (Space Cog): Added rovers aliases to `.space mars dates` command | 2020-03-11 | -1/+1 | |
| | | | | ||||
| * | | | (Space Cog): Add `.space mars dates` information to `.space mars` command ↵ | 2020-03-11 | -1/+1 | |
| | | | | | | | | | | | | | docstring | |||
| * | | | (Space Cog): Fix `DateConverter`'s docstring | 2020-03-11 | -2/+2 | |
| | | | | ||||
| * | | | (Space Cog): Add `self.rovers` using to `.space mars` command check. | 2020-03-11 | -2/+7 | |
| | | | | ||||
| * | | | (Space Cog): Removed unnecessary part of `.space mars` docstring due `.space ↵ | 2020-03-11 | -4/+0 | |
| | | | | | | | | | | | | | mars dates` adding | |||
| * | | | (Space Cog): Added `.space mars dates` command to see what rovers is ↵ | 2020-03-11 | -2/+9 | |
| | | | | | | | | | | | | | currently available and their date ranges. | |||
| * | | | (Space Cog): Created task for `.mars` command rovers fetching one time in day | 2020-03-11 | -0/+15 | |
| | | | | ||||
| * | | | (Space Cog): Add base URL parameter to helper function `fetch_from_nasa` | 2020-03-11 | -2/+3 | |
| | | | | ||||
| * | | | (Space Cog): Removed unnecessary sentence from `.mars` command docstring | 2020-03-10 | -1/+1 | |
| |/ / | ||||
| * | | (Space Cog): Added optional search term to `.space nasa` command, removed ↵ | 2020-03-07 | -6/+11 | |
| | | | | | | | | | random page due no way to fetch how much pages is really there with specific search term. | |||
| * | | (Space Cog): Added date parameter to `.space epic` command. | 2020-03-07 | -3/+19 | |
| | | | ||||
| * | | (Space Cog): Added `invoke_without_command` parameter to `.space` command to ↵ | 2020-03-07 | -1/+1 | |
| | | | | | | | | | not call head command when trying to use subcommand. | |||
| * | | (Space Cog): Improved `.space mars` command, added possibility for SOL date ↵ | 2020-03-07 | -13/+42 | |
| | | | | | | | | | and way to change rover. Added custom converter for SOL and standard date. | |||
| * | | (Space Cog): Renamed `.space earth` command to `.space epic` for upcoming ↵ | 2020-03-07 | -3/+3 | |
| | | | | | | | | | new command. | |||
| * | | (Space Cog): Created head command `.space` and added all other commands under it | 2020-03-07 | -5/+10 | |
| | | | ||||
| * | | (Space Cog): Fixes with random module. Removed manual random list item ↵ | 2020-03-02 | -5/+5 | |
| | | | | | | | | | getting with random.choice | |||
| * | | (Space Cog): .apod Command Fixes: Renamed default parameters constant, ↵ | 2020-03-02 | -8/+5 | |
| | | | | | | | | | changed embed title, removed HD parameter + changed img from hdurl to url. | |||