aboutsummaryrefslogtreecommitdiffstats
path: root/bot/constants.py (follow)
Commit message (Collapse)AuthorAgeLines
* Merge branch 'main' into update-role-constantsGravatar TizzySaurus2021-11-29-5/+5
|\
| * Disable File Logging By DefaultGravatar Hassan Abouelela2021-11-20-0/+1
| | | | | | | | | | | | Place logging to file behind an environment variable. Signed-off-by: Hassan Abouelela <[email protected]>
| * Move Sentry Into InitGravatar Hassan Abouelela2021-11-12-3/+0
| | | | | | | | | | | | | | | | 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]>
| * Merge remote-tracking branch 'upstream/main' into coloredlogsGravatar Numerlor2021-11-09-3/+5
| |\
| | * Add support to query AoC results in respect of days and stars (#857)Gravatar D0rs4n2021-10-14-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add support to query AoC results in respect of days and stars From now on the AoC leaderboard command accepts a total of 2 optional arguments a day and star string (eg.: 1-2, for the second star of the first day) and a number of results they would like to see, with a total maximum of 15. This commit also introduces a few minor fixes in the AoC helper. * Improve overall code consitency in the AoC event Cog and helpers * Improve indenting and code consistency in the AoC cog * Improve code transparency in the AoC helpers * Patch various inconsistencies in the AoC cog and helpers * Migrate AoC Day and Star statistics filtering to Dropdowns From now on when the AoC leadearboard command is used with the DayAndStar argument(bool) the bot will send a View with two dropdowns and a button to Fetch the data based on the value of the Dropdowns. * Improve code and comment consistency in the AoC views and helpers * Patch logic errors, improve consistency in the AoC cog and view. * Add support to delete view from the message after timeout in the AoC cog * Move the day_and_star logic out of the typing context manager in the AoC cog * Revert season-locker in the AoC cog * Improve overall code transparency and indenting in the AoC cog and views * Remove unnecessary returns in the AoC cog and view
| | * update advent of code channel IDsGravatar Chris Lovering2021-10-13-2/+2
| | | | | | | | | | | | We deleted and re-made the channels so new IDs are needed.
| * | Add selective trace loggersGravatar Numerlor2021-09-07-0/+1
| | | | | | | | | | | | Add selective enabling of trace loggers as described in python-discord/bot#1529
* | | Change `MODERATION_ROLES` and `STAFF_ROLES` constants to be a setGravatar Izan2021-11-29-2/+2
| | |
* | | Rename `Roles.owner` to `Roles.owners`Gravatar Izan2021-10-11-2/+2
| | |
* | | Rename `Roles.admin` to `Roles.admins`Gravatar Izan2021-10-11-5/+5
| | |
* | | Rename `Roles.moderator` to `Roles.moderation_team`Gravatar Izan2021-10-11-2/+2
| |/ |/|
* | Allow everyone to use the `.bm` command everywhere (#885)Gravatar Objectivitix2021-09-26-1/+2
|/ | | | | | | | | | | * Allow everyone to use the bm command * Add everyone role in Roles constants * Use envvars and re-order Roles section to be more organized * Fix trailing whitespace We might need to squash merge, four commits for a single small fix is too much
* Fix type annotationsGravatar decorator-factory2021-08-31-2/+2
|
* Merge branch 'main' into coinflip-commandGravatar Xithrius2021-08-30-1/+1
|\
| * Make bot debug constant default to trueGravatar wookie1842021-08-26-1/+1
| |
* | Move lemojis into constants.pyGravatar Izan2021-08-24-0/+3
|/
* Added emoji IDs to constants.pyGravatar Xithrius2021-08-03-2/+2
|
* Merge branch 'main' into feature/stackoverflowGravatar Xithrius2021-07-31-7/+9
|\
| * Remove hacktoberfest channel overridesGravatar Chris Lovering2021-07-06-1/+0
| | | | | | | | | | The hacktoberfest channel has now been removed, so these overrides can also be removed. The commands may still be useful in future, and can be used in lancebot's playground.
| * Allow commands in code jam team channelsGravatar wookie1842021-07-06-0/+1
| |
| * Add transparent border to new Github octiconsGravatar Chris2021-06-10-7/+7
| |
| * Update tense of icon constantsGravatar Chris2021-06-09-2/+2
| | | | | | | | | | | | This is so the name of the constants describe the state in the correct tense Co-authored-by: Numerlor <[email protected]>
| * Update Github emoji to new iconsGravatar Chris2021-06-09-6/+8
| | | | | | | | | | | | Github updated their icons, so we should update ours too. Co-authored-by: GDWR <[email protected]>
* | Remove commented emojisGravatar Vivaan Parashar2021-06-09-2/+0
| |
* | Merge branch 'main' of https://github.com/python-discord/sir-lancebot into ↵Gravatar Vivaan Parashar2021-06-07-0/+3
|\| | | | | | | feature/stackoverflow
| * Merge branch 'main' into fix/tttGravatar Kieran Siek2021-06-07-12/+18
| |\
| * | (tic-tac-toe): Update x and o emojiGravatar Shivansh2021-05-15-0/+3
| | |
* | | Use reddit emojis for upvote and answersGravatar Vivaan Parashar2021-06-07-2/+2
| | |
* | | Merge branch 'main' of https://github.com/python-discord/sir-lancebot into ↵Gravatar Vivaan Parashar2021-06-02-12/+18
|\ \ \ | | |/ | |/| | | | feature/stackoverflow
| * | Remove trailing spaceGravatar Shivansh-0072021-05-20-1/+1
| | |
| * | Merge branch 'main' into feature/command-suggestionsGravatar Shivansh-0072021-05-20-13/+56
| |\ \
| | * | fix inconsistency of hexadecimal letter cases in Colours classGravatar Objectivitix2021-05-12-12/+12
| | | |
| | * | Merge branch 'main' into mainGravatar Objectivitix2021-05-10-0/+19
| | |\|
| | * | add gold colourGravatar Objectivitix2021-05-09-0/+1
| | | |
| * | | Use constants for delete delay and remove redundant f-string.Gravatar Shivansh-0072021-04-03-0/+5
| | | |
* | | | Merge branch 'main' into feature/stackoverflowGravatar Vivaan2021-05-16-1/+43
|\ \ \ \ | | |_|/ | |/| |
| * | | Pull upstream and resolve conflicts.Gravatar rohan2021-05-10-0/+22
| |\ \ \ | | | |/ | | |/|
| | * | Merge branch 'main' into Enforce-image-processing-concurrencyGravatar ks1292021-04-30-0/+5
| | |\ \
| | | * | Add Catify command (#694)Gravatar Dillon Runke2021-04-20-0/+5
| | | | | | | | | | | | | | | | | | | | Co-authored-by: Joe Banks <[email protected]> Co-authored-by: hypergamer80 <[email protected]>
| | * | | Merge branch 'main' into Enforce-image-processing-concurrencyGravatar Chris2021-04-12-1/+2
| | |\| |
| | * | | Fetch member before modifying their pfpGravatar Chris2021-04-05-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We do this as the member cache may have an outdated version of their pfp, which can lead to errors if it's removed from the Discord CDN. Co-authored-by: vcokltfre <[email protected]>
| | * | | Merge remote-tracking branch 'origin/main' into ↵Gravatar Chris2021-03-14-25/+0
| | |\ \ \ | | | | |/ | | | |/| | | | | | Enforce-image-processing-concurrency
| | * | | Move colours to constantsGravatar Chris2021-03-10-0/+16
| | | | |
| * | | | Add reddit channel ID to constants.Gravatar Rohan2021-04-15-0/+1
| | | | |
| * | | | Merge branch 'main' into reddit_migrationGravatar Rohan Reddy Alleti2021-04-15-37/+23
| |\ \ \ \ | | | |_|/ | | |/| |
| * | | | Merge branch 'master' into reddit_migrationGravatar Rohan Reddy Alleti2021-01-27-0/+17
| |\ \ \ \
| * \ \ \ \ Merge branch 'master' of https://github.com/python-discord/sir-lancebot into ↵Gravatar Rohan2021-01-22-44/+67
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | reddit_migration
| * | | | | | Add Reddit class and emojis to constants file.Gravatar Rohan2020-12-02-0/+18
| | | | | | |
* | | | | | | Update branchGravatar Vivaan Parashar2021-04-15-31/+12
|\ \ \ \ \ \ \ | | |_|_|/ / / | |/| | | | |
| * | | | | | Merge branch 'main' into akarys/630/automatic-linking-everywhereGravatar Xithrius2021-04-11-1/+1
| |\ \ \ \ \ \