aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts (follow)
Commit message (Collapse)AuthorAgeLines
...
* Create the bookmark URL view at runtime instead of having a subclassGravatar Chris Lovering2023-02-19-9/+4
|
* Only successfully reply to bookmark if bookmark was sentGravatar Chris Lovering2023-02-19-18/+20
|
* Move action_bookmark to inside the ContextMenu form classGravatar Chris Lovering2023-02-19-27/+24
|
* Update docstrings and error messages in Bookmark commandGravatar Chris Lovering2023-02-19-29/+18
|
* Remove text-based bookmark commandGravatar Chris Lovering2023-02-19-89/+11
|
* Make bookmark a guild only commandGravatar Chris Lovering2023-02-19-7/+2
|
* fix typo in user shown messageGravatar arl2023-02-19-1/+1
|
* disallow usage of the context menu command in DMsGravatar Amrou Bellalouna2023-02-19-0/+5
|
* remove the call to action to check DMS for the bmGravatar Amrou Bellalouna2023-02-19-1/+0
|
* add formatting to the ephemeral embedGravatar Amrou Bellalouna2023-02-19-2/+2
|
* build a new bookmark embed for the context menu commandGravatar Amrou Bellalouna2023-02-19-3/+14
| | | | This will be sent along the ephemeral message
* mark label as optionalGravatar Amrou Bellalouna2023-02-19-1/+1
|
* move class var before ctorGravatar Amrou Bellalouna2023-02-19-9/+9
|
* return embed directly from build_bookmark_embedGravatar Amrou Bellalouna2023-02-19-2/+1
|
* add a bookmark selection formGravatar Amrou Bellalouna2023-02-19-6/+39
| | | | | | This prompts the user for a custom title for their input. This has been added to not lose the functionality of adding a custom title for a bookmark for those who need it.
* fix `AttributeError` on interaction.userGravatar Amrou Bellalouna2023-02-19-1/+1
| | | | | This bus was introduced upon refactoring the perms check. It tries to access an author property from within a user, which doesn't exist.
* fix `AttributeError` on interaction.channelGravatar Amrou Bellalouna2023-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 messageGravatar Amrou Bellalouna2023-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 embedsGravatar Amrou Bellalouna2023-02-19-5/+2
|
* make bookmark_context_menu_callback protectedGravatar Amrou Bellalouna2023-02-19-2/+2
|
* rename run_permission_check to user_is_permitted_to_bookmarkGravatar Amrou Bellalouna2023-02-19-3/+6
|
* appease linterGravatar Amrou Bellalouna2023-02-19-5/+7
|
* add bm context menuGravatar Amrou Bellalouna2023-02-19-0/+17
|
* delegate building bm embedGravatar Amrou Bellalouna2023-02-19-7/+11
|
* move running permission checks in a static methodGravatar Amrou Bellalouna2023-02-19-10/+19
|
* sync commands upon cog loadGravatar Amrou Bellalouna2023-02-19-0/+4
|
* Move Earth Day to April, where it belongsGravatar Thurisatic2023-02-01-1/+1
|
* Isolate regex options to capture groupsGravatar Thurisatic2023-01-18-6/+6
|
* Perform small fixes, incl requested: sorting, typo, redundancies, moodGravatar Thurisatic2023-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 capabilitiesGravatar Thurisatic2023-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 internalsGravatar Thurisatic2023-01-15-4/+4
| | | | | Additional pending reactions mean putting the reaction Cog in the halloween directory no longer makes sense. Approriate renamings follow.
* Bump botcore version (#1180)Gravatar Amrou Bellalouna2022-12-28-4/+4
| | | Co-authored-by: Amrou Bellalouna <[email protected]>
* Merge branch 'main' into let-me-ellipsizeGravatar wookie1842022-12-15-1/+1
|\
| * Update CSS class in soup targetGravatar bradtimmis2022-12-14-1/+1
| |
* | Ignore ellipses when suggesting commandsGravatar Cam Caswell2022-12-14-1/+3
|/
* Remove Advent of Code CogGravatar Janine vN2022-11-28-1227/+0
| | | | and related json. This cog was ported to Sir Robin.
* 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]>
* Enhance spooky react to be more spoopy.Gravatar Preocts2022-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 everythingGravatar Xithrius2022-11-02-1/+1
|
* Merge branch 'main' into mainGravatar Xithrius2022-11-02-353/+413
|\
| * updated bot/exts/core/help.py for Issue #1122Gravatar divyanshu2022-10-29-1/+1
| |
| * Catch more status codes in Wolfram commands (#1136)Gravatar Karlis Suvi2022-10-28-0/+13
| |
| * Add ability to use replied message's content as `.randomcase` argument. (#1129)Gravatar TizzySaurus2022-10-26-3/+5
| | | | | | Co-authored-by: Xithrius <[email protected]>
| * Improve time complexity of `already_reacted` function.Gravatar TizzySaurus2022-10-22-6/+8
| |
| * Add `break` statement to loop to make its functionality clearer.Gravatar TizzySaurus2022-10-19-0/+4
| |
| * Remove unnecessary map()Gravatar TizzySaurus2022-10-19-4/+1
| |
| * Remove calls to the deprecated .flatten() methodGravatar TizzySaurus2022-10-19-7/+31
| |
| * 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]>
| * Add bat spooky reaction (#1118)Gravatar Crowthebird2022-10-12-1/+2
| |
| * Merge branch 'main' into fix-issue-1107Gravatar ChrisJL2022-10-02-8/+8
| |\