aboutsummaryrefslogtreecommitdiffstats
path: root/bot (follow)
Commit message (Collapse)AuthorAgeLines
...
* 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.
* fixed typo: spelling mistake (#1183)Gravatar Yuito2023-01-13-1/+1
|
* Bump botcore version (#1180)Gravatar Amrou Bellalouna2022-12-28-9/+9
| | | 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
|/
* Add additional answer to a trivia question (#1160)Gravatar DivyanshuBist2022-12-09-1/+1
|
* Clean up constants file from AoC cog removalGravatar Janine vN2022-11-28-67/+0
|
* Remove unused utils fileGravatar Janine vN2022-11-28-47/+0
| | | | These utils were only used in the AoC cog.
* Remove Advent of Code CogGravatar Janine vN2022-11-28-1254/+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-707/+545
|\
| * 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]>
| * Merge branch 'main' into fix-issue-1120Gravatar ChrisJL2022-10-22-0/+2
| |\
| | * Added `Blurple` and ` OG Blurple colours (#1125)Gravatar brad90four2022-10-18-0/+2
| | | | | | | | | | | | * Added `Blurple` colour * Added `OG Blurple` colour
| * | 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
| |\
| | * Merge branch 'main' into fix-GH-1108Gravatar wookie1842022-10-02-2/+2
| | |\
| | * | Remove extra space.Gravatar Izan2022-10-02-1/+1
| | | |
| | * | Fix order of function parameters on @discord.ui.buttonGravatar Izan2022-10-02-6/+6
| | | |
| | * | Fix order of function parameters on @discord.ui.selectGravatar Izan2022-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`.Gravatar Izan2022-10-02-2/+3
| | |/ | |/|
| * | 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.
| * Remove all wait_until_guil_available as this is now done in bot-coreGravatar Chris Lovering2022-09-23-23/+1
| |
| * 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