aboutsummaryrefslogtreecommitdiffstats
path: root/bot/bot.py (unfollow)
Commit message (Collapse)AuthorLines
2019-12-02Fix Christmas season loading bugGravatar sco1-0/+7
The `SeasonBase.is_between_dates()` method assumes that the season's start and end dates are in the same year, which works for every season except for Christmas, since its end date is New Year's Day. To fix this, the christmas.end() method has been overloaded to return the next year instead of the current year. This does not affect checks made on 1 January of the next year, as the season's start date will guard against this.
2019-12-02Add envelope reaction if AoC join DM sends successfullyGravatar kwzrd-0/+2
2019-12-02Add envelope emoji constantGravatar kwzrd-0/+1
2019-12-02Delete whitespacesGravatar Matteo Bertucci-1/+1
2019-12-02Cancel season related tasks on cog unloadGravatar Matteo Bertucci-0/+5
2019-12-01fix line length in command `.aoc join`Gravatar decorator-factory-1/+1
2019-12-01Fix cmd annotationGravatar decorator-factory-1/+1
Fix the `brief` argument for `.aoc join` to make its behaviour more obvious.
2019-11-30Remove hardcoded date from AOC info link embedGravatar S. Co1-1/+1
If a date is not specified, the AOC site should redirect to the most recent year.
2019-11-30Fix AOC countdown logicGravatar S. Co1-3/+14
The current time delta until the next AOC event assumes that the next event is next year's. While this is was a safe assumption when written, since the command would not be available until the season is loaded on December 1st, it provides an incorrect answer if the season is loaded prior. The logic has been adjusted to return the closest December 1st that is not in the past. The feedback string has also been adjusted to give hours remaining if we're less than a day away from the event starting.
2019-11-30Refactor random generator to use a local instance rather than systemGravatar S. Co1-11/+15
2019-11-29Update icon path for 2019 festive seasonGravatar kwzrd-1/+1
2019-11-28Adding the runner icon to the rotation.Gravatar Leon Sandøy-0/+1
https://github.com/python-discord/branding/pull/37
2019-11-25Default seasons to not send announcementsGravatar S. Co1-4/+5
2019-11-25Add env var support for Advent of Code year specificationGravatar S. Co1-1/+1
To assist with debugging
2019-11-25Update leaderboard IDGravatar S. Co1-1/+1
2019-11-25Add the new blinky server guild iconGravatar Deniz-0/+1
2019-11-19Relock to d.py 1.2.5 due to API breaking change for emoji.Gravatar scragly-101/+117
2019-11-18year binds to datetime instead of a magic numberGravatar Eivind Teig-1/+2
2019-11-02Change off-season logo size to 512Gravatar kwzrd-6/+6
2019-11-02Add two new icons to icon constantGravatar kwzrd-0/+2
2019-10-31Hotfix end date of HacktoberGravatar Sebastiaan Zeeff-1/+1
The command is mostly used to calculate the time left in the DO's Hacktoberfest event we are participating in. However, the current end datetime was specified as a day before the actual end of the event. This hotfix remedies that for the end-calculation only. This code should get a proper fix to rework the entire logic to use the correct start and end datetimes for DO's event.
2019-10-24Readd cog init & rename *.py fileGravatar S. Co1-0/+3
2019-10-19Fixes the changes.Gravatar quizzicaltrains-5/+8
2019-10-18Changed several things.Gravatar quizzicaltrains-66/+59
2019-10-14Syntax cleanup, remove unnecessary emoji dictGravatar S. Co1-28/+27
2019-10-14Made the icon_URL variable conform to PEP8Gravatar RohanRadia-6/+6
2019-10-14Remove str() in f-stringGravatar RohanRadia-1/+1
Co-Authored-By: Kieran Siek <[email protected]>
2019-10-14Remove str() within f-stringGravatar RohanRadia-1/+1
Co-Authored-By: Kieran Siek <[email protected]>
2019-10-14Caps fixGravatar RohanRadia-1/+1
2019-10-13Update bot/seasons/evergreen/issues.pyGravatar RohanRadia-1/+1
Co-Authored-By: Kieran Siek <[email protected]>
2019-10-12allow all AoC commands in whitelisted channelsGravatar Numerlor-0/+8
2019-10-12Adds the monsterbio command!Gravatar quizzicaltrains-0/+96
2019-10-12Fixed forgetting to divide by 100.Gravatar vivax3794-1/+1
2019-10-12had the wrong prefix in docstring xDGravatar vivax3794-1/+1
2019-10-12fixed " misplace meant.Gravatar vivax3794-1/+1
2019-10-12Added Beginner to docstring.Gravatar vivax3794-1/+6
2019-10-09Fixed emoji error in embedGravatar RohanRadia-10/+13
2019-10-07Condensed importsGravatar RohanRadia-2/+1
2019-10-07Constants match pep8 formattingGravatar RohanRadia-10/+10
2019-10-07Trailing Commas RemovedGravatar RohanRadia-4/+4
2019-10-07Made use of constants for coloursGravatar RohanRadia-1/+2
2019-10-07Added GitHub emojis to constants fileGravatar RohanRadia-0/+6
2019-10-07Made use of constants file instead of hard codingGravatar RohanRadia-5/+6
2019-10-07Added logging to "get_issues".Gravatar vivax3794-2/+7
2019-10-06Updated location of emojisGravatar RohanRadia-8/+7
2019-10-06Lint errorGravatar RohanRadia-1/+0
2019-10-06Updated the explination of API callsGravatar RohanRadia-1/+8
2019-10-05bug fixesGravatar vivax3794-8/+13
2019-10-05added beginnerGravatar vivax3794-14/+36
2019-10-04override global whitelist on all hacktober subcommandsGravatar Numerlor-0/+2