diff options
author | 2025-07-22 19:06:26 +0100 | |
---|---|---|
committer | 2025-07-22 19:27:11 +0100 | |
commit | 718cd802f89a0ecbdab91dd5faf268d6582385a8 (patch) | |
tree | e0ea5bf76af6d33aabb8ee161c152c4dafc6fb42 /bot | |
parent | make deleting a bookmark possible through a context menu command (diff) |
Apply suggestion from @Copilot
Co-authored-by: Copilot <[email protected]>
Diffstat (limited to 'bot')
-rw-r--r-- | bot/exts/utilities/bookmark.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/utilities/bookmark.py b/bot/exts/utilities/bookmark.py index 07e14514..19cabd25 100644 --- a/bot/exts/utilities/bookmark.py +++ b/bot/exts/utilities/bookmark.py @@ -267,7 +267,7 @@ class Bookmark(commands.Cog): if target_message is None: raise commands.UserInputError("You must reply to the message from Sir-Lancebot you wish to delete.") if not isinstance(channel, discord.DMChannel): - raise commands.UserInputError("You can only run this command your own DMs!") + raise commands.UserInputError("You can only run this command in your own DMs!") if target_message.channel.id != channel.id: raise commands.UserInputError("You can only delete messages in your own DMs!") if target_message.author != self.bot.user: |