aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Merge branch 'main' into aoc-lb-multiwordGravatar Hassan Abouelela2021-12-03-23/+27
|\
| * Merge pull request #900 from python-discord/update-role-constantsGravatar Johannes Christ2021-12-02-23/+27
| |\ | | | | | | Update role constants
| | * Merge branch 'main' into update-role-constantsGravatar Hassan Abouelela2021-12-02-79/+51
| | |\ | | |/ | |/|
| | * Revert change to if statement checking if staff in `.aoc join`Gravatar Izan2021-11-29-1/+1
| | |
| | * Merge branch 'main' into update-role-constantsGravatar TizzySaurus2021-11-29-521/+3342
| | |\
| | * | Change `MODERATION_ROLES` and `STAFF_ROLES` constants to be a setGravatar Izan2021-11-29-2/+2
| | | |
| | * | Make certain AOC commands guild-onlyGravatar Izan2021-10-11-0/+3
| | | |
| | * | Check role id in STAFF_ROLES instead of comparing to helpersGravatar Izan2021-10-11-2/+2
| | | |
| | * | Check role id in MODERATION_ROLES instead of comparing to moderation_team ↵Gravatar Izan2021-10-11-14/+15
| | | | | | | | | | | | | | | | and safeguard `.roles` attribute
| | * | Rename `Roles.owner` to `Roles.owners`Gravatar Izan2021-10-11-2/+2
| | | |
| | * | Rename `Roles.admin` to `Roles.admins`Gravatar Izan2021-10-11-9/+9
| | | |
| | * | Rename `Roles.moderator` to `Roles.moderation_team`Gravatar Izan2021-10-11-4/+4
| | | |
* | | | Note why .aoc lb strips quotes from namesGravatar Ben Soyka2021-12-02-0/+1
| | | |
* | | | Note that only one layer of quotes is stripped in .aoc lbGravatar Ben Soyka2021-12-02-1/+3
| | | |
* | | | Shorten parameter name for .aoc lbGravatar Ben Soyka2021-12-01-13/+8
| | | |
* | | | Strip quotes from start/end of the username for .aoc lbGravatar Ben Soyka2021-12-01-0/+4
| | | |
* | | | Make self_placement_name keyword-only in .aoc lbGravatar Ben Soyka2021-12-01-0/+1
|/ / /
* | | Merge pull request #950 from onerandomusername/patch-3Gravatar Johannes Christ2021-12-02-10/+0
|\ \ \ | | | | | | | | Remove unnecessary edits during pagination
| * \ \ Merge branch 'main' into patch-3Gravatar ChrisJL2021-12-02-109/+163
| |\ \ \ | |/ / / |/| | |
* | | | Merge pull request #959 from onerandomusername/fix-hanukkah-commandGravatar Joe Banks2021-12-02-48/+36
|\ \ \ \
| * | | | fix: hanukkah command respects month boundariesGravatar aru2021-12-01-48/+36
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rewrote hanukkah to use datetime.strptime left a helper method and some variables in order to allow extending to use a cache in the future, rather than requesting the api every invoke that is out of scope of this commit and pull, since the command is currently broken. I've only kept the same functionality, without trying to rewrite the entire command.
* | | | Merge pull request #957 from python-discord/aoc-count-timestampGravatar Johannes Christ2021-11-30-21/+15
|\ \ \ \ | |_|_|/ |/| | | Aoc count timestamp
| * | | Use Discord timestamps for aoc next day messages countdownsGravatar Chris Lovering2021-11-29-4/+3
| | | |
| * | | Use a Discord timestamp to show countdownGravatar Chris Lovering2021-11-29-6/+2
| | | | | | | | | | | | | | | | This gives the user the ability to hover the timestamp with their mouse to get an exact date and time.
| * | | Swap conditional in aoc countGravatar Chris Lovering2021-11-29-21/+20
|/ / / | | | | | | | | | This is so that there is less code within the if block, making it easier to parse the whole command by eye.
* | | Merge pull request #951 from python-discord/file_loggingGravatar Matteo Bertucci2021-11-28-4/+2
|\ \ \ | | | | | | | | Disable File Logging By Default
| * \ \ Merge branch 'main' into file_loggingGravatar Xithrius2021-11-28-4/+9
| |\ \ \ | |/ / / |/| | |
* | | | Merge pull request #955 from DMFriends/christmas_avatarGravatar ChrisJL2021-11-22-1/+1
|\ \ \ \ | | | | | | | | | | Fix a grammatical mistake in the description of the `.spookify` command
| * | | | Fix a grammatical mistake in the description of the `.spookify` commandGravatar DMFriends2021-11-22-1/+1
|/ / / /
* | | | Merge pull request #954 from D0rs4n/patch-aocdayandstarGravatar Matteo Bertucci2021-11-21-3/+8
|\ \ \ \ | | | | | | | | | | Add check to ensure the day-and-star data exists
| * \ \ \ Merge branch 'main' into patch-aocdayandstarGravatar Matteo Bertucci2021-11-21-0/+0
| |\ \ \ \ | |/ / / / |/| | | |
| * | | | Add check to ensure the day-and-star data existsGravatar D0rs4n2021-11-21-3/+8
| | | | |
| | * | | Disable File Logging By DefaultGravatar Hassan Abouelela2021-11-20-4/+2
| |/ / / |/| | | | | | | | | | | | | | | | | | | Place logging to file behind an environment variable. Signed-off-by: Hassan Abouelela <[email protected]>
* | | | Merge pull request #949 from D0rs4n/pr/aochangesGravatar Matteo Bertucci2021-11-20-32/+101
|\| | | | | | | | | | | Introduce command changes in the AoC Cog
| * | | Update Caching logic in AoC helpersGravatar D0rs4n2021-11-19-6/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - This commit adds a new set of leaderboard data to the cache so that it calculates the correct information if issued with either a `self_placement_name` or not. - It also introduces code consistency upgrades Co-Authored-By: Johannes Christ <[email protected]>
| * | | Introduce command changes in the AoC CogGravatar D0rs4n2021-11-18-31/+66
|/ / / | | | | | | | | | | | | - The AoC day and star browser has been separated from the leaderboard command, from now on it's a separate command - The leaderboard command has a new `self_placement_name` option, that shows the personal stats for the specified profile name.
| * / Remove unnecessary edits during paginationGravatar aru2021-11-20-10/+0
|/ / | | | | | | pick 3cd4c92b1e24c8cfdae8c5c68c19607c62cc01ed from python-discord/bot remove additional unnecessary edit
* | Merge pull request #842 from brad90four/color-677Gravatar Matteo Bertucci2021-11-14-0/+1828
|\ \ | | | | | | Add color command
| * \ Merge branch 'main' into color-677Gravatar Matteo Bertucci2021-11-14-340/+459
| |\ \ | |/ / |/| |
* | | Merge pull request #943 from python-discord/file-log-debugGravatar Matteo Bertucci2021-11-12-32/+32
|\ \ \ | | | | | | | | Fix Startup Crash Loop
| * | | Move Sentry Into InitGravatar Hassan Abouelela2021-11-12-22/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Moves the sentry setup to be one of the very first things run during startup, so we are able to catch more errors, such as ones that might occur while setting up logs. Signed-off-by: Hassan Abouelela <[email protected]>
| * | | Disable File Logs In ProductionGravatar Hassan Abouelela2021-11-12-10/+13
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | The most recent changes to our log setup had the loggers writing to a read-only location in prod. This would cause an error during startup. To get around this while keeping the change, I moved it to only be used if debug is True. Signed-off-by: Hassan Abouelela <[email protected]>
* | | Merge pull request #858 from Numerlor/coloredlogsGravatar Xithrius2021-11-11-281/+370
|\ \ \
| * \ \ Merge branch 'main' into coloredlogsGravatar Xithrius2021-11-11-19/+25
| |\ \ \ | |/ / / |/| | |
* | | | Merge PR #909: Fix challenge cog not working for beta languagesGravatar Hassan Abouelela2021-11-10-19/+25
|\ \ \ \
| * \ \ \ Merge branch 'main' into challenge-fixGravatar Hassan Abouelela2021-11-10-403/+796
| |\ \ \ \ | |/ / / / |/| | | |
| * | | | Fix line after function docstringGravatar Shom7702021-11-07-1/+0
| | | | |
| * | | | Change language to language.lower()Gravatar Shom7702021-11-06-2/+4
| | | | |
| * | | | lowering challenges for compatibility with uppercase languagesGravatar Shom7702021-11-06-1/+1
| | | | |
| * | | | removed repeating query is NoneGravatar Shom7702021-10-14-15/+16
| | | | |