Skip to content

Commit 2c09bc6

Browse files
committed
Add edit cmd docs
1 parent 4e6e13b commit 2c09bc6

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

bot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ async def get_latest_updates(self, limit=3):
316316
message = commit['commit']['message'].splitlines()[0]
317317
author_name = commit['author']['login']
318318

319-
latest_commits += f'[`{short_sha}`]({html_url}) {message} - {author_name}\n'
319+
latest_commits += f'[`{short_sha}`]({html_url}) {message}\n'
320320

321321
return latest_commits
322322

cogs/modmail.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,9 @@ async def reply(self, ctx, *, msg=''):
235235
async def edit(self, ctx, message_id: Optional[int]=None, *, new_message):
236236
'''Edit a message that was sent using the reply command.
237237
238-
`<message_id>` is the id shown in the footer of thread messages.
238+
If no message_id is provided, that last message sent by a mod will be edited.
239+
240+
`[message_id]` the id of the message that you want to edit.
239241
`<new_message>` is the new message that will be edited in.
240242
'''
241243
thread = await self.bot.threads.find(channel=ctx.channel)

0 commit comments

Comments
 (0)