aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/utilities/bookmark.py (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
|
* Fixed everythingGravatar Xithrius2022-11-02-1/+1
|
* Merge branch 'main' into mainGravatar Xithrius2022-11-02-2/+2
|\
| * Support discord.py's new async cog loadingGravatar Chris Lovering2022-09-21-2/+2
| |
* | 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
|
* Reflect new message converter behaviour in bm help messageGravatar Chris Lovering2021-12-05-1/+1
| | | | Since w epatched the message converter to work as intended, the help message given to a user when failing to resolve a message reference to a message object has been updated.
* Give the bookmark command a better error messageGravatar Chris Lovering2021-10-03-1/+7
|
* Allow everyone to use the `.bm` command everywhere (#885)Gravatar Objectivitix2021-09-26-3/+2
| | | | | | | | | | | * Allow everyone to use the bm command * Add everyone role in Roles constants * Use envvars and re-order Roles section to be more organized * Fix trailing whitespace We might need to squash merge, four commits for a single small fix is too much
* Move practical functions into utilities folderGravatar Janine vN2021-09-05-0/+153
Separates out the useful/practical seasonal bot features from the evergreen folder into a "utilities" folder. Adjusts the paths to resources to reflect the folder move.