aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/utilities (follow)
Commit message (Collapse)AuthorAgeLines
* 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
|
* Bump botcore version (#1180)Gravatar Amrou Bellalouna2022-12-28-1/+1
| | | Co-authored-by: Amrou Bellalouna <[email protected]>
* Update CSS class in soup targetGravatar bradtimmis2022-12-14-1/+1
|
* Fixed everythingGravatar Xithrius2022-11-02-1/+1
|
* Merge branch 'main' into mainGravatar Xithrius2022-11-02-57/+106
|\
| * Catch more status codes in Wolfram commands (#1136)Gravatar Karlis Suvi2022-10-28-0/+13
| |
| * Fix order of function parameters on @discord.ui.selectGravatar Izan2022-10-02-1/+1
| | | | | | | | During development the order of the `interaction` and `select` swapped, but this wasn't updated in the codebase. This commit fixes that.
| * Remove all wait_until_guil_available as this is now done in bot-coreGravatar Chris Lovering2022-09-23-6/+1
| |
| * Move init tasks to async cog_load functionsGravatar Chris Lovering2022-09-21-3/+2
| |
| * Fix breaking changes in emoji 2.0Gravatar Chris Lovering2022-09-21-2/+2
| |
| * Support discord.py's new async cog loadingGravatar Chris Lovering2022-09-21-35/+35
| |
| * Use extension utils from bot-coreGravatar Chris Lovering2022-09-21-14/+14
| |
| * Move startup checks and logs to their own cogGravatar Chris Lovering2022-09-21-0/+42
| | | | | | | | This is to avoid needed to use wait_until_guild_available during the setup hook.
* | Appeased the formatterGravatar Xithrius2022-11-02-1/+1
| |
* | Possible race condition avoidedGravatar Xithrius2022-11-02-2/+2
| |
* | Corrected indentationGravatar Xithrius2022-10-27-19/+20
| |
* | Fixed button not doing anything for other usersGravatar Xithrius2022-10-27-45/+37
| |
* | Fix broken linesGravatar Diabolical57772022-08-30-7/+5
| |
* | Use buttons for bookmark commandGravatar Diabolical57772022-08-30-3/+2
| |
* | Use buttons for bookmark commandGravatar Diabolical57772022-08-30-54/+77
|/
* Require dm delete command be invoceed by replying to a lance messageGravatar Chris Lovering2022-08-19-8/+5
|
* Update bookmark error handlingGravatar Chris Lovering2022-08-19-2/+1
| | | | This moves sending the error response to within the except block, making it easier to parse what the code is doing.
* fixup: Improved docstring and error message in bookmark commandGravatar Chris Lovering2022-08-19-2/+2
|
* Fix unbm DM only logicGravatar Chris Lovering2022-08-19-7/+11
| | | | | | The DM only check was interfering with our global check against DM messages. This commit also makes the docstring a little more explanatory, as this is what the user sees when running the help command.
* Improve the docstring for the action_bookmark functionGravatar Chris Lovering2022-08-19-1/+5
|
* Add command to delete bot messages in DMs with sir-lancebotGravatar Chris Lovering2022-08-19-1/+26
|
* Remove need for additional abstraction in bookmark commandGravatar Chris Lovering2022-08-19-24/+15
|
* Simplify bookmark error embed helperGravatar Chris Lovering2022-08-19-15/+12
|
* Simplify when a message can not be found when bookmarkingGravatar Chris Lovering2022-08-19-11/+17
|
* GitHub issues embeds: preserve order and display repo name and issue number ↵Gravatar Bradley Reynolds2022-07-28-2/+4
| | | | | (#1077) Co-authored-by: Numerlor <[email protected]>
* RealPython home page displayed on no user search. (#1063)Gravatar Xithrius2022-06-17-4/+12
|
* Add Twemoji utility command (#988)Gravatar Gustav Odinger2022-03-14-0/+150
| | | Co-authored-by: Xithrius <[email protected]>
* Fix #1024 (#1030)Gravatar MaskDuck2022-02-15-1/+4
|
* Merge branch 'main' into merge-github-issuesGravatar ChrisJL2022-02-14-102/+143
|\
| * handle OverflowError in relative times converterGravatar Sn4u2022-01-08-1/+1
| |
| * Merge Epoch Command (PR #983)Gravatar bones2022-01-09-0/+135
| | | | | | | | | | | | | | Add timestamp converter command. Co-authored-by: Sn4u <[email protected]> Co-authored-by: mathstrains21 <[email protected]> Co-authored-by: mathstrains21 <[email protected]>
| * Remove latex cog and matplotlibGravatar Chris Lovering2021-12-28-101/+0
| | | | | | | | | | | | matplotlib, and its sub dependencies, caused a fresh install of an environment to take multiple minutes. As the latex cog is the only one that used it, and that is currently disabled, we have decided to remove it entirely. Git gives us the benefit of being able to see deleted files. So whoever decides to implement latex again can use that for reference.