Commit message (Collapse) | Author | Age | Lines | ||
---|---|---|---|---|---|
... | |||||
* | fix `AttributeError` on interaction.channel | 2023-02-19 | -1/+1 | ||
| | | | | This bus was introduced upon refactoring the perms check, and it calls channel from within a channel. | ||||
* | use existing `build_error_embed` func to construct unauthorized message | 2023-02-19 | -24/+11 | ||
| | | | | | | This removes the need of the `user_is_permitted_to_bookmark` func, and keeps the code cleaner & more coherent It always relis on using interaction.response to reply instead of context, which might result in a failed interaction | ||||
* | keep style consistency when forming embeds | 2023-02-19 | -5/+2 | ||
| | |||||
* | make bookmark_context_menu_callback protected | 2023-02-19 | -2/+2 | ||
| | |||||
* | rename run_permission_check to user_is_permitted_to_bookmark | 2023-02-19 | -3/+6 | ||
| | |||||
* | appease linter | 2023-02-19 | -5/+7 | ||
| | |||||
* | add bm context menu | 2023-02-19 | -0/+17 | ||
| | |||||
* | delegate building bm embed | 2023-02-19 | -7/+11 | ||
| | |||||
* | move running permission checks in a static method | 2023-02-19 | -10/+19 | ||
| | |||||
* | sync commands upon cog load | 2023-02-19 | -0/+4 | ||
| | |||||
* | Move Earth Day to April, where it belongs | 2023-02-01 | -1/+1 | ||
| | |||||
* | Isolate regex options to capture groups | 2023-01-18 | -6/+6 | ||
| | |||||
* | Perform small fixes, incl requested: sorting, typo, redundancies, mood | 2023-01-17 | -15/+13 | ||
| | | | | | | | | - Fixes misspelling of hanukkah regex - Move `_check_message` docstring to imperative mood - Remove redundant `_short_circuit_check` from `_check_message` - Remove redundant comma from `EarthDay`'s reaction list - Sort triggers for Halloween and Christmas | ||||
* | Add non-Christmas holiday reaction capabilities | 2023-01-16 | -18/+89 | ||
| | | | | | | | | | | Triggers for reactions are moved from a dict to to a 2-deep NamedTuple. This is cleaner for multiple reactions, and allows for additional parameters, such as months. Message case checking is altered from `.lower` to `re.IGNORECASE`. Not only does the regex flag short circuit, it doesn't modify the string in question | ||||
* | De-Halloween-ify reaction Cog: move file, rename internals | 2023-01-15 | -4/+4 | ||
| | | | | | Additional pending reactions mean putting the reaction Cog in the halloween directory no longer makes sense. Approriate renamings follow. | ||||
* | fixed typo: spelling mistake (#1183) | 2023-01-13 | -1/+1 | ||
| | |||||
* | Bump botcore version (#1180) | 2022-12-28 | -9/+9 | ||
| | | | Co-authored-by: Amrou Bellalouna <[email protected]> | ||||
* | Merge branch 'main' into let-me-ellipsize | 2022-12-15 | -1/+1 | ||
|\ | |||||
| * | Update CSS class in soup target | 2022-12-14 | -1/+1 | ||
| | | |||||
* | | Ignore ellipses when suggesting commands | 2022-12-14 | -1/+3 | ||
|/ | |||||
* | Add additional answer to a trivia question (#1160) | 2022-12-09 | -1/+1 | ||
| | |||||
* | Clean up constants file from AoC cog removal | 2022-11-28 | -67/+0 | ||
| | |||||
* | Remove unused utils file | 2022-11-28 | -47/+0 | ||
| | | | | These utils were only used in the AoC cog. | ||||
* | Remove Advent of Code Cog | 2022-11-28 | -1254/+0 | ||
| | | | | and related json. This cog was ported to Sir Robin. | ||||
* | Make The Latex API URL Configurable | 2022-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]> | ||||
* | Enhance spooky react to be more spoopy. | 2022-11-13 | -1/+1 | ||
| | | | This change adjusts the regex pattern used in detecting `spooky` to include fun variants such as `spoopy` and `spookier`. The `k` is replaceable with a `p`, the `y` can be interchanged with `i` allowing `ier` and `iest` endings. (`yer` and `yest` are also valid). The number of `o`s remains at two (2) or more. | ||||
* | Fixed everything | 2022-11-02 | -1/+1 | ||
| | |||||
* | Merge branch 'main' into main | 2022-11-02 | -707/+545 | ||
|\ | |||||
| * | updated bot/exts/core/help.py for Issue #1122 | 2022-10-29 | -1/+1 | ||
| | | |||||
| * | Catch more status codes in Wolfram commands (#1136) | 2022-10-28 | -0/+13 | ||
| | | |||||
| * | Add ability to use replied message's content as `.randomcase` argument. (#1129) | 2022-10-26 | -3/+5 | ||
| | | | | | | Co-authored-by: Xithrius <[email protected]> | ||||
| * | Merge branch 'main' into fix-issue-1120 | 2022-10-22 | -0/+2 | ||
| |\ | |||||
| | * | Added `Blurple` and ` OG Blurple colours (#1125) | 2022-10-18 | -0/+2 | ||
| | | | | | | | | | | | | * Added `Blurple` colour * Added `OG Blurple` colour | ||||
| * | | Improve time complexity of `already_reacted` function. | 2022-10-22 | -6/+8 | ||
| | | | |||||
| * | | Add `break` statement to loop to make its functionality clearer. | 2022-10-19 | -0/+4 | ||
| | | | |||||
| * | | Remove unnecessary map() | 2022-10-19 | -4/+1 | ||
| | | | |||||
| * | | Remove calls to the deprecated .flatten() method | 2022-10-19 | -7/+31 | ||
| |/ | |||||
| * | Fix the TMDB API error handling in movie cog (#1060) | 2022-10-12 | -19/+25 | ||
| | | | | | | | | Co-authored-by: wookie184 <[email protected]> Co-authored-by: Chris Lovering <[email protected]> | ||||
| * | Add bat spooky reaction (#1118) | 2022-10-12 | -1/+2 | ||
| | | |||||
| * | Merge branch 'main' into fix-issue-1107 | 2022-10-02 | -8/+8 | ||
| |\ | |||||
| | * | Merge branch 'main' into fix-GH-1108 | 2022-10-02 | -2/+2 | ||
| | |\ | |||||
| | * | | Remove extra space. | 2022-10-02 | -1/+1 | ||
| | | | | |||||
| | * | | Fix order of function parameters on @discord.ui.button | 2022-10-02 | -6/+6 | ||
| | | | | |||||
| | * | | Fix order of function parameters on @discord.ui.select | 2022-10-02 | -4/+4 | ||
| | | | | | | | | | | | | | | | | During development the order of the `interaction` and `select` swapped, but this wasn't updated in the codebase. This commit fixes that. | ||||
| * | | | Correct logic in `format_embed`. | 2022-10-02 | -2/+3 | ||
| | |/ | |/| | |||||
| * | | Fix position-only arg in madlibs.py | 2022-10-02 | -1/+1 | ||
| | | | |||||
| * | | Fix position-only arg in hangman.py | 2022-10-02 | -1/+1 | ||
| |/ | |||||
| * | Update quackstack integration | 2022-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. | ||||
| * | Remove all wait_until_guil_available as this is now done in bot-core | 2022-09-23 | -23/+1 | ||
| | | |||||
| * | Update games cog token refresh logic | 2022-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 |