Removed some leftover brackets around message numbers

cshd
Dragory 2020-08-17 01:58:20 +03:00
parent adc54909fa
commit aff119549e
No known key found for this signature in database
GPG Key ID: 5F387BA66DF8AAC1
2 changed files with 2 additions and 2 deletions

View File

@ -135,7 +135,7 @@ const defaultFormatters = {
},
formatStaffReplyDeletionNotificationThreadMessage(threadMessage, moderator) {
let content = `**${moderator.user.username}#${moderator.user.discriminator}** (\`${moderator.id}\`) deleted reply \`[${threadMessage.message_number}]\``;
let content = `**${moderator.user.username}#${moderator.user.discriminator}** (\`${moderator.id}\`) deleted reply \`${threadMessage.message_number}\``;
if (threadMessage.body.length < 200) {
// Show the original content of deleted small messages inline

View File

@ -27,7 +27,7 @@ module.exports = ({ bot, knex, config, commands }) => {
: `https://discord.com/channels/@me/${channelId}/${threadMessage.dm_message_id}`;
const parts = [
`Details for message \`[${threadMessage.message_number}]\`:`,
`Details for message \`${threadMessage.message_number}\`:`,
`Channel ID: \`${channelId}\``,
`Message ID: \`${threadMessage.dm_message_id}\``,
`Link: <${messageLink}>`,