aboutsummaryrefslogtreecommitdiffstats
path: root/bot/bot.py (unfollow)
Commit message (Collapse)AuthorLines
2019-10-06Updated the explination of API callsGravatar RohanRadia-1/+8
2019-10-03Flake8 FixingGravatar RohanRadia-2/+4
2019-10-03Resloved requested changesGravatar RohanRadia-4/+7
2019-10-02Final Final Linting Error D415Gravatar RohanRadia-1/+1
2019-10-02Syntax Error FixGravatar RohanRadia-2/+2
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-02adjust end date time to the end of the last day of october instead of the ↵Gravatar Numerlor-1/+1
beginning of it
2019-10-02put role bypass check above channel override to make sure bypass roles can ↵Gravatar Numerlor-7/+7
activate commands everywhere even with override channels specified
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