aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Setup SentryGravatar Joseph Banks2020-03-25-29/+85
|
* Merge pull request #378 from python-discord/update-contribGravatar kwzrd2020-03-23-25/+38
|\ | | | | Update contributor doc
| * Merge branch 'master' into update-contribGravatar kwzrd2020-03-23-0/+1
| |\ | |/ |/|
* | Merge pull request #380 from python-discord/gitignore-dataGravatar scragly2020-03-21-0/+1
|\ \ | | | | | | Add `data` persistence directory to .gitignore
| * | Add `data` persistence directory to .gitignoreGravatar kwzrd2020-03-21-0/+1
|/ /
| * Update contributor docGravatar S. Co12020-03-20-25/+38
|/
* Merge pull request #250 from Suhail6inkling/battleshipsGravatar S. Co12020-03-20-0/+444
|\ | | | | Battleships Game
| * Merge branch 'master' into battleshipsGravatar S. Co12020-03-20-541/+1897
| |\ | |/ |/|
* | Merge pull request #373 from python-discord/python38Gravatar Sebastiaan Zeeff2020-03-19-51/+9
|\ \ | | | | | | Bump Python version to 3.8
| * \ Merge branch 'master' into python38Gravatar Sebastiaan Zeeff2020-03-19-1/+555
| |\ \ | |/ / |/| |
* | | Merge pull request #371 from ks129/helpGravatar S. Co12020-03-13-1/+555
|\ \ \ | | | | | | | | Added Python bot help command to SeasonalBot
| * \ \ Merge branch 'master' into helpGravatar S. Co12020-03-13-452/+917
| |\ \ \ | |/ / / |/| | |
| * | | (Help): Comments CleanupGravatar ks1232020-03-13-13/+0
| | | |
| * | | (Help): Removed unnecessary comments about changesGravatar ks1232020-03-10-8/+0
| | | |
| * | | (Help): Added `Icons` class to constant, added `questionmark` to there, ↵Gravatar ks1232020-03-10-2/+5
| | | | | | | | | | | | | | | | reverted icon removal in `.help` command.
| * | | (Help): Added cog loading to __main__.pyGravatar ks1232020-03-07-0/+1
| | | |
| * | | (Help): Added unloading block in cogs loadingGravatar ks1232020-03-07-1/+1
| | | |
| * | | (Help): Made modifications to original code to make this working in ↵Gravatar ks1232020-03-07-10/+26
| | | | | | | | | | | | | | | | SeasonalBot, marked them down with comments and fixed docstrings formatting for linting.
| * | | (Help): Added information comment to top of fileGravatar ks1232020-03-07-0/+1
| | | |
| * | | Copy-pasted help command content from Python botGravatar ks1232020-03-07-0/+554
| | | |
| | * | CI: bump Ubuntu image to 18.04Gravatar kwzrd2020-03-08-1/+1
| | | |
| | * | CI: bump Python to 3.8Gravatar kwzrd2020-03-08-1/+1
| | | |
| | * | Docker: bump Python to 3.8Gravatar kwzrd2020-03-08-1/+1
| | | |
| | * | Pipenv: bump Python to 3.8 & re-lockGravatar kwzrd2020-03-08-48/+6
| |/ / |/| |
* | | Merge pull request #370 from python-discord/feat/deps/355/pep8-namingGravatar Sebastiaan Zeeff2020-03-05-0/+1
|\ \ \ | | | | | | | | Name the use Python version task
| * | | CI: name the use Python version taskGravatar MarkKoz2020-03-05-0/+1
|/ / / | | | | | | | | | The name is needed to be able to retrieve its output variable.
* | | Merge pull request #368 from python-discord/feat/deps/355/pep8-namingGravatar Shirayuki Nekomata2020-03-05-434/+493
|\ \ \ | | | | | | | | Add pep8-naming and more pre-commit hooks
| * | | CI: run pre-commit hooks in CIGravatar MarkKoz2020-03-04-44/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pre-commit creates its own environment in which it installs hooks. To speed up runs, the pipeline will cache this for use with future jobs. The cache will update if .pre-commit-config.yaml changes. The flake8 pre-commit hook invokes flake8 via `pipenv run flake8`. It's normally useful to use pipenv here cause it ensures flake8 is invoked within the context of the venv. However, in CI, there is no venv - dependencies are installed directly to the system site-packages. `pipenv run` does not work in such case because it tries to create a new venv if one doesn't exist (it doesn't consider the system interpreter to be a venv). This workaround (okay, it's a hack) creates an executable shell script which replaces the original pipenv binary. The shell script simply ignores the first argument (i.e. ignores `run` in `pipenv run`) and executes the rest of the arguments as a command. It essentially makes `pipenv run flake8` equivalent to just having ran `flake8`. When pre-commit executes pipenv, the aforementioned script is what will run. * Re-format indentation of azure-pipelines.yml
| * | | Add more pre-commit hooksGravatar MarkKoz2020-03-04-100/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 dependenciesGravatar MarkKoz2020-03-04-290/+317
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 pull request #361 from ks129/games-commandGravatar Shirayuki Nekomata2020-03-05-0/+396
|\ \ \ | | | | | | | | Added .games command
| * \ \ Merge branch 'master' into games-commandGravatar Shirayuki Nekomata2020-03-05-18/+27
| |\ \ \ | |/ / / |/| | |
* | | | Merge pull request #366 from python-discord/tidy-seasonal-channelsGravatar Eivind Teig2020-03-03-15/+12
|\ \ \ \ | | | | | | | | | | Strip references to seasonalbot chat
| * | | | Strip references to seasonalbot chatGravatar S. Co12020-03-01-15/+12
|/ / / / | | | | | | | | | | | | Redirect any output to seasonalbot commands, where relevant
* | | | Update devlog channel constantGravatar S. Co12020-02-25-1/+1
| | | | | | | | | | | | The log channels have become one
* | | | Merge pull request #356 from python-discord/icon-switch-frequencyGravatar Daniel Brown2020-02-25-2/+14
|\ \ \ \ | |_|/ / |/| | | Icon switch frequency
| * | | Cycle icons within season in configured interval onlyGravatar kwzrd2020-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 constantGravatar kwzrd2020-02-23-0/+1
| | | |
| * | | Calculate seconds as n_hours * seconds_in_hourGravatar kwzrd2020-02-23-1/+1
|/ / / | | | | | | | | | This is a lot more readable than just 86400.
| * | (Games Cog): Added space between game search result + removed cutoff in ↵Gravatar Karlis S2020-03-04-2/+2
| | | | | | | | | | | | get_close_matches.
| * | (Games Cog): Moved `string.Template` to `str.format()`, applied changes ↵Gravatar ks1232020-03-04-51/+37
| | | | | | | | | | | | everywhere.
| * | (Games Cog): Moved self.genres to __init__ and added type hints. Added lower ↵Gravatar ks1232020-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 ↵Gravatar ks1232020-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 ↵Gravatar ks1232020-03-04-1/+1
| | | | | | | | | | | | lines.
| * | (Games Cog): Stop refreshing genres task when Cog unloadGravatar ks1232020-03-04-0/+5
| | |
| * | (Games Cog): Added try block to genres refresh task.Gravatar ks1232020-03-04-1/+6
| | |
| * | (Games Cog): Added .games refresh|r command for refreshing genres.Gravatar ks1232020-03-04-1/+13
| | |
| * | (Games Cog): Created task for fetching genres (every hour)Gravatar ks1232020-03-04-2/+7
| | |
| * | (Games Cog): Fixed _get_genres function looping over genres (started using ↵Gravatar ks1232020-03-04-5/+5
| | | | | | | | | | | | dict.items())
| * | (Games Cog): Fixed get_games_list calling formatting at L192Gravatar ks1232020-03-04-2/+1
| | |