Removed some leftover brackets around message numbers
parent
adc54909fa
commit
aff119549e
|
@ -135,7 +135,7 @@ const defaultFormatters = {
|
||||||
},
|
},
|
||||||
|
|
||||||
formatStaffReplyDeletionNotificationThreadMessage(threadMessage, moderator) {
|
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) {
|
if (threadMessage.body.length < 200) {
|
||||||
// Show the original content of deleted small messages inline
|
// Show the original content of deleted small messages inline
|
||||||
|
|
|
@ -27,7 +27,7 @@ module.exports = ({ bot, knex, config, commands }) => {
|
||||||
: `https://discord.com/channels/@me/${channelId}/${threadMessage.dm_message_id}`;
|
: `https://discord.com/channels/@me/${channelId}/${threadMessage.dm_message_id}`;
|
||||||
|
|
||||||
const parts = [
|
const parts = [
|
||||||
`Details for message \`[${threadMessage.message_number}]\`:`,
|
`Details for message \`${threadMessage.message_number}\`:`,
|
||||||
`Channel ID: \`${channelId}\``,
|
`Channel ID: \`${channelId}\``,
|
||||||
`Message ID: \`${threadMessage.dm_message_id}\``,
|
`Message ID: \`${threadMessage.dm_message_id}\``,
|
||||||
`Link: <${messageLink}>`,
|
`Link: <${messageLink}>`,
|
||||||
|
|
Loading…
Reference in New Issue