aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/fun (follow)
Commit message (Collapse)AuthorAgeLines
* Fix: stop using deprecated PIL .getsize methodGravatar wookie1842023-07-08-2/+5
|
* Use built in timeout handling for aiohttp instead of async_timeoutGravatar wookie1842023-07-08-6/+5
|
* Add support for latex rendering server >400 errors (#1278)Gravatar MedAliMarz2023-06-06-13/+28
|
* Bump ruff from 0.0.269 to 0.0.270 (#1286)Gravatar dependabot[bot]2023-05-29-1/+1
| | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Xithrius <[email protected]>
* Bump ruff from 0.0.265 to 0.0.267 (#1276)Gravatar dependabot[bot]2023-05-15-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | * Bump ruff from 0.0.265 to 0.0.267 Bumps [ruff](https://github.com/charliermarsh/ruff) from 0.0.265 to 0.0.267. - [Release notes](https://github.com/charliermarsh/ruff/releases) - [Changelog](https://github.com/charliermarsh/ruff/blob/main/BREAKING_CHANGES.md) - [Commits](https://github.com/charliermarsh/ruff/compare/v0.0.265...v0.0.267) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Fix linting errors from new ruff rules --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Chris Lovering <[email protected]>
* Move unshared contants inside modulesGravatar Chris Lovering2023-05-09-7/+9
|
* Apply fixes for ruff lintingGravatar Chris Lovering2023-05-09-209/+202
| | | | | Co-authored-by: wookie184 <[email protected]> Co-authored-by: Amrou Bellalouna <[email protected]>
* use Tokens.Youtube in the Snakes CogGravatar shtlrs2023-05-06-2/+2
|
* Run null check on needed api keys before loading cogs.Gravatar shtlrs2023-05-06-0/+6
| | | | | | This makes sure that all cogs that need keys won't load. Which helps in avoiding exceptions at runtime, and give a clearer warning at startup time.
* use `SecretStr` for all secretsGravatar shtlrs2023-05-06-8/+8
|
* revert renaming of Client to BotGravatar shtlrs2023-05-06-7/+7
|
* update Client constantsGravatar shtlrs2023-05-06-7/+7
| | | | This also renames the Client class to Bot, to align better with Python.
* search and replace ctx.typingGravatar mudkipdev2023-03-28-4/+4
|
* Allow .latex in python-help channelGravatar Matias Lago Evia2023-03-10-0/+1
|
* Bump botcore version (#1180)Gravatar Amrou Bellalouna2022-12-28-2/+2
| | | Co-authored-by: Amrou Bellalouna <[email protected]>
* Make The Latex API URL ConfigurableGravatar Hassan Abouelela2022-11-21-1/+2
| | | | | | | Reads the latex API URL from an environment variable, to allow modifying it in prod. Signed-off-by: Hassan Abouelela <[email protected]>
* Add ability to use replied message's content as `.randomcase` argument. (#1129)Gravatar TizzySaurus2022-10-26-3/+5
| | | Co-authored-by: Xithrius <[email protected]>
* Fix the TMDB API error handling in movie cog (#1060)Gravatar Mohammad Rafivulla2022-10-12-19/+25
| | | | Co-authored-by: wookie184 <[email protected]> Co-authored-by: Chris Lovering <[email protected]>
* Fix position-only arg in madlibs.pyGravatar Izan2022-10-02-1/+1
|
* Fix position-only arg in hangman.pyGravatar Izan2022-10-02-1/+1
|
* Update quackstack integrationGravatar Chris Lovering2022-09-23-4/+3
| | | | With https://github.com/python-discord/quackstack/pull/74 the location for the generated duck as been moved to the Location header, as a full URL.
* Update games cog token refresh logicGravatar Chris Lovering2022-09-23-37/+38
| | | | This moves away from an infinite loop, to a task scheduling approach. Doing it this way avoids an infinitely running cog_load
* Move init tasks to async cog_load functionsGravatar Chris Lovering2022-09-21-3/+1
|
* Support discord.py's new async cog loadingGravatar Chris Lovering2022-09-21-53/+53
|
* Use extension utils from bot-coreGravatar Chris Lovering2022-09-21-12/+10
|
* Refactored get_discord_message to not unnecessarily log, and cleaned up ↵Gravatar AbooMinister252022-08-08-17/+9
| | | | uwu_command
* Refactored methods _get_discord_message, _get_text_and_embed, and ↵Gravatar AbooMinister252022-08-08-74/+12
| | | | _convert_embed into bot/utils/messages.py
* Add a check for whether an embed is already available via the embeds list, ↵Gravatar AbooMinister252022-08-08-9/+10
| | | | and to use that
* Pulled changes from main and fixed conflictsGravatar AbooMinister252022-08-08-6/+64
|\
| * Enable LaTeX command in ds&a channelGravatar Anton Älgmyr2022-08-04-0/+1
| |
| * Merge branch 'main' into uwu-emoji-fixGravatar wookie1842022-08-02-5/+14
| |\
| | * Add jokes command (#1081)Gravatar Diabolical57772022-07-27-2/+8
| | | | | | | | | Add jokes command
| | * Fix incorrect type hints (#1073)Gravatar Bradley Reynolds2022-07-14-3/+6
| | |
| * | Updated docstring for _ext_emoji_replaceGravatar Ionite2022-07-20-1/+1
| | | | | | | | | Co-authored-by: ChrisJL <[email protected]>
| * | Improved REGEX Emoji matchGravatar Ionite2022-07-20-1/+1
| | | | | | | | | Co-authored-by: ChrisJL <[email protected]>
| * | Improved numerical matching safetyGravatar ionite342022-07-14-2/+2
| | | | | | | | | | | | | | | - Added ASCII flag to match pattern - Changed `isdigit` check to `isdecimal`
| * | Updated usage of REGEX_EMOJIGravatar ionite342022-07-14-1/+1
| | | | | | | | | | | | Updated usage for new naming
| * | Normalized REGEX_EMOJI namingGravatar ionite342022-07-14-1/+1
| | | | | | | | | | | | Updated pattern to follow similar naming convention of `REGEX_*` instead of `RE_*` as rest of file.
| * | Updated docstringsGravatar ionite342022-07-12-1/+3
| | | | | | | | | | | | | | | - Added docstring to `Emoji` class. - Added period to end of `_ext_emoji_replace` docstring.
| * | Added external emoji replacement filterGravatar ionite342022-07-12-0/+46
| | | | | | | | | | | | | | | | | | | | | - Added pattern `RE_EMOJI` to capture emoji markdowns - Implemented dataclass for emoji information - Added function `_ext_emoji_replace` to replace external undisplayable emojis with random emoticons - Added call to said function in `_uwuify`
| * | Removed redundant character classGravatar ionite342022-07-12-1/+1
| | | | | | | | | | | | The regex character class for the single character [w] is redundant. The character can be directly used.
| * | Type annotations for fun_cogGravatar ionite342022-07-12-1/+5
| |/
* | Fixed conflicts from PR 1078Gravatar AbooMinister252022-08-08-1/+5
| |
* | Ran lints :pGravatar AbooMinister252022-07-17-4/+4
| |
* | Fix issue with .uwu failing to uwuify embeds in repliesGravatar AbooMinister252022-07-13-6/+18
|/
* Update .uwu to work with replies (#1070)Gravatar Bradley Reynolds2022-07-09-2/+15
|
* Allow latex command in data science and ai channelGravatar Chris Lovering2022-05-26-0/+7
|
* Merge branch 'main' into uwuGravatar Senjan212022-05-09-43/+547
|\
| * Handle Missing Logs in Latex API Response (#1036)Gravatar Shakya Majumdar2022-03-13-6/+9
| | | | | | Co-authored-by: Xithrius <[email protected]>
| * add comments and docstrings, remove an unused variableGravatar Shakya Majumdar2022-02-01-1/+8
| |