Skip to content

Commit a6fe30a

Browse files
committed
update docstring of the delete bookmark callback
1 parent 6047ad7 commit a6fe30a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

bot/exts/utilities/bookmark.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,9 @@ async def _delete_bookmark_context_menu_callback(
115115
message: discord.Message,
116116
) -> None:
117117
"""
118-
Delete the Sir-Lancebot message that the command invocation is replying to.
118+
The callback that will be invoked upon using the "Delete Bookmark" context menu command.
119119
120-
This command allows deleting any message sent by Sir-Lancebot in the user's DM channel with the bot.
121-
The command invocation must be a reply to the message that is to be deleted.
120+
This contains all the logic when it comes to deleting Sir-Lancebot's bookmark DM messages.
122121
"""
123122
if interaction.channel.type != discord.ChannelType.private:
124123
raise commands.UserInputError("You can only run this command your own DMs!")

0 commit comments

Comments
 (0)