diff options
author | 2022-05-29 09:46:51 +0100 | |
---|---|---|
committer | 2022-08-19 10:28:02 +0100 | |
commit | 1607da06a3078abf179c39cb06014fd529ba66d8 (patch) | |
tree | 8b1f6cf7532385f97d4f261e3940ec4d5498e214 | |
parent | Fix unbm DM only logic (diff) |
fixup: Improved docstring and error message in bookmark command
-rw-r--r-- | bot/exts/utilities/bookmark.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/utilities/bookmark.py b/bot/exts/utilities/bookmark.py index 7d44fa71..58f3044c 100644 --- a/bot/exts/utilities/bookmark.py +++ b/bot/exts/utilities/bookmark.py @@ -17,7 +17,7 @@ log = logging.getLogger(__name__) TIMEOUT = 120 BOOKMARK_EMOJI = "📌" MESSAGE_NOT_FOUND_ERROR = ( - "You must either provide a valid message to bookmark, or reply to one." + "You must either provide a reference to a valid message, or reply to one." "\n\nThe lookup strategy for a message is as follows (in order):" "\n1. Lookup by '{channel ID}-{message ID}' (retrieved by shift-clicking on 'Copy ID')" "\n2. Lookup by message ID (the message **must** be in the current channel)" @@ -94,7 +94,7 @@ class Bookmark(commands.Cog): Members can either give a message as an argument, or reply to a message. - Bookmarks can subsequently be deleted by using the `bookmark delete` command. + Bookmarks can subsequently be deleted by using the `bookmark delete` command in DMs. """ target_message: Optional[discord.Message] = target_message or getattr(ctx.message.reference, "resolved", None) if target_message is None: |