aboutsummaryrefslogtreecommitdiffstats
path: root/bot/constants.py (follow)
Commit message (Collapse)AuthorAgeLines
* Add env var setting to determine whether to post daily top reddit postsGravatar Chris Lovering2025-01-02-0/+1
|
* fix: replace unfriendly error msgs (#1627)Gravatar dd84ai2024-11-23-3/+4
|
* Cleanup constants (#1484)Gravatar Amrou Bellalouna2024-05-21-7/+0
|
* Update Redis service addressGravatar Joe Banks2024-04-15-1/+1
|
* Use github issue not planned emoji with grey fillGravatar Chris Lovering2024-03-25-1/+1
| | | | This is the colour github uses on the website, and looks much better on darkmode.
* Support issues closed as not-planned in GitHub Issue linkingGravatar hedy2024-03-25-1/+2
| | | | | | - Issue closed emoji is renamed to `issue_completed` to better reflect the `state_reason` key provided by the GitHub API that determines the usage of this emoji.
* Bump ruff from 0.1.13 to 0.1.14 (#1434)Gravatar dependabot[bot]2024-01-24-11/+11
| | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: shtlrs <[email protected]> Co-authored-by: Xithrius <[email protected]>
* Remove the need for calling dotenv manually by using pydanticGravatar Chris Lovering2023-11-25-0/+2
|
* Update to pydantic 2.0Gravatar wookie1842023-11-25-79/+62
|
* Always use the get_logger func from bot-coreGravatar Chris Lovering2023-11-25-2/+2
|
* Bump ruff from 0.0.272 to 0.0.280 (#1333)Gravatar dependabot[bot]2023-08-10-15/+18
| | | | | | | Co-authored-by: wookie184 <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Chris Lovering <[email protected]> Co-authored-by: ChrisJL <[email protected]>
* Move unshared contants inside modulesGravatar Chris Lovering2023-05-09-27/+0
|
* Apply fixes for ruff lintingGravatar Chris Lovering2023-05-09-0/+8
| | | | | Co-authored-by: wookie184 <[email protected]> Co-authored-by: Amrou Bellalouna <[email protected]>
* remove `.env.server` env fileGravatar shtlrs2023-05-06-1/+1
|
* remove wolfram key from Tokens classGravatar shtlrs2023-05-06-1/+0
|
* give empty str as default to tokensGravatar shtlrs2023-05-06-15/+13
|
* use `SecretStr` for all secretsGravatar shtlrs2023-05-06-16/+17
|
* move lovefest role under the Roles classGravatar shtlrs2023-05-06-11/+2
|
* revert renaming of Client to BotGravatar shtlrs2023-05-06-7/+7
|
* Revert "redeem lost bot references"Gravatar shtlrs2023-05-06-4/+3
| | | | This reverts commit 8d4fa84652e98dcb92fddf0a776c32634e0dfcf0.
* update RedditGravatar shtlrs2023-05-06-4/+8
|
* update Redis configGravatar shtlrs2023-05-06-10/+9
| | | | This also renames RedisConfig to Redis, the way we have it in Python
* update Tokens & WolframGravatar shtlrs2023-05-06-11/+26
|
* update RolesGravatar shtlrs2023-05-06-4/+9
|
* update lovefestGravatar shtlrs2023-05-06-2/+8
|
* redeem lost bot referencesGravatar shtlrs2023-05-06-3/+4
|
* update LoggingGravatar shtlrs2023-05-06-4/+10
|
* update Client constantsGravatar shtlrs2023-05-06-9/+13
| | | | This also renames the Client class to Bot, to align better with Python.
* update CategoriesGravatar shtlrs2023-05-06-3/+8
|
* update ChannelsGravatar shtlrs2023-05-06-4/+8
|
* add base EnvConfigGravatar shtlrs2023-05-06-3/+20
|
* Allow .latex in python-help channelGravatar Matias Lago Evia2023-03-10-0/+1
|
* Add default unicode emoji for trashcan (#1217)Gravatar Mohammad Ibrahim2023-02-26-1/+6
| | | | | | | | | | | | | | | | | * Add default unicode emoji for trashcan * Fix keeping the emoji for pydis and default unicode emoji for forks * Remove extra vairable in `Emoji` Co-authored-by: wookie184 <[email protected]> * Remove f-string without placeholder The flake8 life. --------- Co-authored-by: wookie184 <[email protected]>
* 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.