aboutsummaryrefslogtreecommitdiffstats
path: root/bot/constants.py (follow)
Commit message (Collapse)AuthorAgeLines
* Clean up constants file from AoC cog removalGravatar Janine vN2022-11-28-67/+0
|
* Enable LaTeX command in ds&a channelGravatar Anton Älgmyr2022-08-04-0/+1
|
* Allow latex command in data science and ai channelGravatar Chris Lovering2022-05-26-0/+1
|
* Add Twemoji utility command (#988)Gravatar Gustav Odinger2022-03-14-0/+1
| | | Co-authored-by: Xithrius <[email protected]>
* Don't call bot.run() if IN_CI env var is setGravatar Chris Lovering2022-02-20-0/+1
|
* Allow `.src` in dev-contrib and community-meta (#1033)Gravatar TizzySaurus2022-02-20-4/+5
|
* Reduce AOC Logging OutputGravatar Hassan Abouelela2022-01-26-1/+1
| | | | | | | The AOC cog produces a lot of large logs very frequently which have minimal value, causing the logs to be significantly harder to navigate. Signed-off-by: Hassan Abouelela <[email protected]>
* Clean Up Constants FileGravatar Hassan Abouelela2022-01-26-3/+10
| | | | | | | | | | | | | This commit moves the logging constants from the Client class to a new Logging class. Flake8 is renabled for constants, and the error it was disabled for was specifically ignored. All new errors were fixed. It also fixes a bug with __all__, which was trying to export a missing symbol due to a missing comma. Signed-off-by: Hassan Abouelela <[email protected]>
* Update GitHub issue closed emojiGravatar Chris Lovering2022-01-02-1/+1
| | | | GitHub updated their issue closed emoji from red to purple, this updates the emoji to relfect that new colour.
* Add hourly task to assign AoC completer roleGravatar ChrisLovering2021-12-28-0/+1
| | | | This task uses the cached leaderboard to see who has all 50 stars and assigns them a role to highlight them as completers.
* feat: implement moving commandsGravatar onerandomusername2021-12-03-0/+3
| | | | add exceptions and handler for commands that move locations
* 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]>