diff options
| author | 2021-10-14 22:34:41 +0100 | |
|---|---|---|
| committer | 2021-10-14 22:34:41 +0100 | |
| commit | 4fd0acedd4b6f994ecb3299b93ea48115f61d785 (patch) | |
| tree | 1bed49893eada22908fb93632bbfe88eaa6f00ed /bot/exts/utilities/bookmark.py | |
| parent | Change pascal's triangle image (diff) | |
| parent | Add support to query AoC results in respect of days and stars (#857) (diff) | |
Merge branch 'main' into fix-pascal-triangle-image
Diffstat (limited to 'bot/exts/utilities/bookmark.py')
| -rw-r--r-- | bot/exts/utilities/bookmark.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/bot/exts/utilities/bookmark.py b/bot/exts/utilities/bookmark.py index 39d65168..a11c366b 100644 --- a/bot/exts/utilities/bookmark.py +++ b/bot/exts/utilities/bookmark.py @@ -98,7 +98,13 @@ class Bookmark(commands.Cog): """Send the author a link to `target_message` via DMs.""" if not target_message: if not ctx.message.reference: - raise commands.UserInputError("You must either provide a valid message to bookmark, or reply to one.") + raise commands.UserInputError( + "You must either provide a valid message to bookmark, 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** have been sent after the bot last started)" + "\n3. Lookup by message URL" + ) target_message = ctx.message.reference.resolved # Prevent users from bookmarking a message in a channel they don't have access to |