aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/halloween/hacktoberstats.py (follow)
Commit message (Collapse)AuthorAgeLines
...
| * almost finishedGravatar Hedy Li2020-10-07-77/+42
| |
* | small fixes, still need testingGravatar Hedy Li2020-10-08-15/+15
| |
* | almost finishedGravatar Hedy Li2020-10-07-77/+42
|/
* WIP: update stats fetching logic - draft code"Gravatar Hedy Li2020-10-07-12/+69
|
* fix for flake8 - no need fstringGravatar Hedy Li2020-10-05-1/+1
|
* update generation of query urlGravatar Hedy Li2020-10-05-1/+2
| | | moved `author:` outside of `is_query` for better readability and understanding
* update logging query urlGravatar Hedy Li2020-10-05-1/+1
|
* add logging generated urlGravatar Hedy Li2020-10-05-0/+1
|
* improve no PR messageGravatar Hedy Li2020-10-05-1/+1
|
* fix query syntaxGravatar Hedy Li2020-10-05-1/+1
|
* exclude spam label in get_october_prsGravatar Hedy Li2020-10-03-4/+5
| | | | for hacktoberstats, prs with spam labels doesnt count
* Removed unnecessary GitHub API request and checked response message instead.Gravatar Den42002020-10-01-6/+13
| | | | | This check is to see if a GitHub user is non-existent. We do not want to log this as an error.
* Check the GitHub user exists before searching for their PRs.Gravatar Den42002020-09-30-0/+5
| | | | Ensures an error does not occur when a GitHub user does not exist.
* Authenticate GitHub API requests for Hacktoberfest stats.Gravatar Den42002020-09-30-3/+6
| | | | Also changed the user agent from `Discord Python Hacktoberbot` to `Python Discord Hacktoberbot`.
* Update t-shirt references to t-shirts and trees!Gravatar Joe Banks2020-09-30-3/+3
|
* Update Hacktoberfest image URLGravatar Joe Banks2020-09-30-1/+1
|
* Allow hacktoberfest commands in September and NovemberGravatar Joe Banks2020-09-30-3/+3
|
* Update the Hacktoberfest channel constantGravatar Sebastiaan Zeeff2020-09-30-1/+1
| | | | | I've updated the Hacktoberfest channel ID to the ID of the new channel just created for the 2020 edition of the event.
* 5/24 - bot exts - updated writing with utf8 encodingGravatar jodth072020-05-24-1/+1
|
* 5/19 - ext - set upen files encoding to utf8 for botsGravatar jodth072020-05-19-1/+1
|
* Refactor: capitalize Month enum membersGravatar kwzrd2020-03-31-3/+3
| | | | Co-authored-by: MarkKoz <[email protected]>
* Deseasonify: log in `add_cog` rather than in each `setup`Gravatar kwzrd2020-03-28-1/+0
| | | | | | | | | | | | The previous system required each extension's `setup` func to log that the cog was loaded. This leads to inconsistent messages all trying to convey the same thing, variable logger names in the output file are difficult to read, and several extensions were not logging at all. By logging directly in the `add_cog` method, we reduce code repetition, ensure consistent format, and remove the responsibility to remember that a log should be made.
* Deseasonify: rename `seasons` pkg to `exts`Gravatar kwzrd2020-03-28-0/+342
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.