Skip to content

Commit 16b2030

Browse files
MrMrRubictigattack
andauthored
Update custom_msg/custom_msg.py
Co-authored-by: tigattack <10629864+tigattack@users.noreply.github.com>
1 parent 0626689 commit 16b2030

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

custom_msg/custom_msg.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,10 @@ async def msg_create(self, ctx: commands.GuildContext, specified_channel: Option
3939

4040
@msg_cmd.command(name="edit") # type: ignore
4141
async def msg_edit(self, ctx: commands.Context, message: discord.Message):
42-
"""Use message link when specifying what message to edit.
43-
Message ID will likely not work."""
42+
"""Edit a message sent by this cog
43+
It's best to use a message link when specifying which message to edit.
44+
Providing a message ID is likely to fail for older messages, as they won't be in cache.
45+
"""
4446

4547
if message.author != ctx.me:
4648
return await ctx.send("You must specify a message that was sent by the bot.")

0 commit comments

Comments
 (0)