File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -115,10 +115,9 @@ async def _delete_bookmark_context_menu_callback(
115
115
message : discord .Message ,
116
116
) -> None :
117
117
"""
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 .
119
119
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.
122
121
"""
123
122
if interaction .channel .type != discord .ChannelType .private :
124
123
raise commands .UserInputError ("You can only run this command your own DMs!" )
You can’t perform that action at this time.
0 commit comments