1
0
mirror of https://github.com/toast-ts/Daggerbot-TS.git synced 2024-11-17 12:21:00 -05:00

Newline on case overwrite

This commit is contained in:
Toast 2022-12-25 06:48:01 +11:00
parent 4d4100d42f
commit 0bc7c977ee

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]});