aboutsummaryrefslogtreecommitdiffstats
path: root/bot/pagination.py (unfollow)
Commit message (Collapse)AuthorLines
2019-10-02Final LintingGravatar RohanRadia-5/+6
2019-10-02LintingGravatar RohanRadia-3/+2
2019-10-02New more succinct output.Gravatar RohanRadia-40/+45
2019-10-02fix grammar in in_channel_override docstringGravatar Numerlor-1/+2
2019-10-02add logging when an overriden in_channel_check failsGravatar Numerlor-0/+5
2019-10-02fix in_channel_check docstring styleGravatar Numerlor-2/+4
2019-10-02add return type hint to override_in_channel inner functionGravatar Numerlor-1/+1
2019-10-02call the rewritten override_in_channelGravatar Numerlor-2/+2
2019-10-02Use rewritten override_in_channel to create a new whitelist for the commandGravatar Numerlor-3/+4
2019-10-02rewrite override_in_channel to accept an optional new channel whitelistGravatar Numerlor-10/+29
add checks for the new whitelist to in_channel_check
2019-10-01fix typo in headerGravatar Numerlor-1/+1
2019-10-01allow hacktoberstats commands to be used in the hacktober channelGravatar Numerlor-0/+4
2019-10-01remove hacktoberfest channel from global whitelistGravatar Numerlor-1/+1
2019-10-01Point setup guide to site wikiGravatar S. Co1-1/+1
2019-10-01Add +14h to start UTC offset and -11 to end UTC offset to date_range in ↵Gravatar Numerlor-1/+1
query for Hacktoberfest user pull requests
2019-10-01Add #event-hacktoberfest-2019 to bot command whitelistGravatar Numerlor-1/+2
2019-10-01Move PR template so GH can find it againGravatar S. Co1-0/+0
2019-09-30Disable announcements and add hacktober icon.Gravatar Leon Sandøy-5/+11
The Halloween season was currently configured to run with spooky icons and to announce a terrible, contentless announcement. This has been disabled and the neon hacktoberfest icon has been placed in its stead.
2019-09-26Update flake8-annotation pin & relintGravatar S. Co1-19/+38
2019-09-23Reflect persist module changes in hacktober cog.Gravatar scragly-2/+2
Co-Authored-By: Sebastiaan Zeeff <[email protected]>
2019-09-23Use mkdir exists kwarg instead of checking existing ahead of time.Gravatar scragly-4/+2
2019-09-23Improve func name, example, directory managementGravatar scragly-9/+37
Function name has been changed to `make_persistent` after prompt by @lemonsaurus asking for a more descriptive name. Thanks @MarkKoz for providing the alternate name. During local testing, the `data` directory doesn't exist yet. In prod, this isn't an issue as the persistent volume is mounted at that location. To make local testing more convenient, the directory is checked and made if not found. Persistent data files will be placed in a seasonal subdirectory so long as they have a valid season name somewhere in their path, otherwise they will be placed directly in the data directory. Added a note to docstring to avoid same-named files in the same seasons or it will conflict with each other in the persistent data directory. The example was extended a little bit to make it both actually valid if tested and hopefully make it easier to understand what's going on.
2019-09-23Check explicitly if file exists rather than any existing path.Gravatar scragly-1/+1
Co-Authored-By: Mark <[email protected]>
2019-09-23Change volume instruction to single line.Gravatar scragly-2/+1
2019-09-23Move pipenv install above file copy, add comments, move to python slim image.Gravatar scragly-4/+8
2019-09-23Use standard DockerHub connection.Gravatar scragly-1/+1
Co-Authored-By: Mark <[email protected]>
2019-09-20Add better explanatory docstring and example for persist.datafile.Gravatar scragly-1/+17
2019-09-20Update DockerV2 details and remove explicit login.Gravatar scragly-13/+6
2019-09-19Add persistent datafile utils.Gravatar scragly-1/+27
2019-09-19Prevent empty JSON raising an exception.Gravatar scragly-0/+1
2019-09-19Remove egg_huntGravatar scragly-671/+0
2019-09-19Cleanup Dockerfile and CI Build & Push stageGravatar scragly-58/+53
2019-09-11Fix incorrect merge conflict resolutions, lint remaining itemsGravatar S. Co1-28/+34
2019-09-11Dumb kosa forgot to relint after making a small changeGravatar kosayoda-1/+1
2019-09-11Add more uwu conversionsGravatar kosayoda-0/+1
2019-09-11Add embed conversion functionality to .rcase, small fixesGravatar kosayoda-12/+29
2019-09-11Add embed conversion functionality to .uwuGravatar kosayoda-14/+61
2019-09-09Lint remaining filesGravatar S. Co1-58/+62
hacktoberstats cog handled in separate PR
2019-09-09Initial linting passGravatar S. Co1-243/+261
Bot root, seasons cog, easter cogs, evergreen cogs, halloween cogs
2019-09-09Add flake8-annotations to dev dependenciesGravatar S. Co1-6/+18
2019-09-06Update bot/seasons/evergreen/snakes/utils.pyGravatar S. Co1-1/+1
Co-Authored-By: Mark <[email protected]>
2019-09-06Fix bug in Candy Collection CogGravatar S. Co1-5/+6
When the ten_recent_msg helper coro is called, it grabs the most recent message by ID, but some of the following lines assume this object is a Message ID, not an integer.
2019-09-06Fix broken cancellation logic for waiting SaL gameGravatar S. Co1-5/+1
Previous logic allowed for any non-playing member to cancel the game
2019-09-06Apply suggestions from code review Gravatar S. Co1-3/+3
Comprehension cleanup Co-Authored-By: Mark <[email protected]>
2019-09-05Fix misconfigured flake8 so docstrings are properly lintedGravatar S. Co1-32/+33
Relint
2019-09-04Update Snakes and LaddersGravatar sco1-37/+43
* Fix missing await preventing a non-started game from cancelling when timing out when waiting for the game to start * Remove restriction on minimum number of players required for the game to run. This applies to both starting the game and for ending the game if players leave; the game can now be played solo. * Prevent cancellation of the game if the player who initiated the game leaves but there are still people playing * Allow Moderation staff to cancel a game they are not part of * Fix issue where a game is not being properly ended if all the players leave
2019-09-04Hacktober cog cleanupGravatar sco1-25/+24
* Clean up type hinting * Fix command typo in account linking helper message * Add constant & generic handling for number of PRs to shirt * Add constant & generic handling for event year in GH API query
2019-09-04Resolve alias conflict between minsweeper & monster surveyGravatar sco1-1/+1
2019-09-03Use pipenv lint script for pre-commit hookGravatar S. Co1-12/+8
2019-09-03Add dependency pinning & relockGravatar S. Co1-78/+77
Kaizen!