Tweaks to default message number formatting

cshd
Dragory 2020-08-17 01:43:36 +03:00
parent 1532371091
commit c7b49b5484
No known key found for this signature in database
GPG Key ID: 5F387BA66DF8AAC1
2 changed files with 4 additions and 4 deletions

View File

@ -64,11 +64,11 @@ Cancel the ping set by `!alert`.
### `!edit <number> <new text>`
Edit your own previous reply sent with `!reply`.
`<number>` is the message number shown in brackets before the user reply in the thread.
`<number>` is the message number shown in front of staff replies in the thread channel.
### `!delete <number>`
Delete your own previous reply sent with `!reply`.
`<number>` is the message number shown in brackets before the user reply in the thread.
`<number>` is the message number shown in front of staff replies in the thread channel.
### `!loglink`
Get a link to the open Modmail thread's log.
@ -88,7 +88,7 @@ Prints the ID of the current DM channel with the user
### `!message <number>`
Shows the DM channel ID, DM message ID, and message link of the specified user reply.
`<number>` is the message number shown in brackets before the user reply in the thread.
`<number>` is the message number shown in front of staff replies in the thread channel.
## Anywhere on the inbox server
These commands can be used anywhere on the inbox server, even outside Modmail threads.

View File

@ -98,7 +98,7 @@ const defaultFormatters = {
result = `[${formattedTimestamp}] ${result}`;
}
result = `\`[${threadMessage.message_number}]\` ${result}`;
result = `\`${threadMessage.message_number}\` ${result}`;
return result;
},