1
0
mirror of https://github.com/toast-ts/Daggerbot-TS.git synced 2024-09-29 16:30:59 -04:00

Newline on case overwrite

This commit is contained in:
Toast 2022-12-25 06:48:01 +11:00
parent 95d7172d6a
commit 195f59813c

View File

@ -243,7 +243,7 @@ class punishments extends Database {
{name: '\u200b', value: '\u200b', inline: true}
)
}
if (data.cancels) embed.addFields({name: '🔹 Overwrites', value: `This case overwrites Case #${cancels.id} \`${cancels.reason}\``});
if (data.cancels) embed.addFields({name: '🔹 Overwrites', value: `This case overwrites Case #${cancels.id}\n\`${cancels.reason}\``});
// send embed in modlog channel
(this.client.channels.cache.get(channelId) as Discord.TextChannel).send({embeds: [embed]});