feat(discord-bot): add separator for report messages
This commit is contained in:
@@ -180,6 +180,7 @@ export const handleReportModal = async (interaction: ModalSubmitInteraction, cli
|
|||||||
const reportChannel = await client.channels.fetch(env.DISCORD_REPORT_CHANNEL);
|
const reportChannel = await client.channels.fetch(env.DISCORD_REPORT_CHANNEL);
|
||||||
if (reportChannel?.type === ChannelType.GuildText) {
|
if (reportChannel?.type === ChannelType.GuildText) {
|
||||||
const reportMessage = await reportChannel.send({
|
const reportMessage = await reportChannel.send({
|
||||||
|
content: "─────────────────────────────────",
|
||||||
embeds: [buildReportEmbed({ playerName, playerId: player.id, reason, reporterId: interaction.user.id })],
|
embeds: [buildReportEmbed({ playerName, playerId: player.id, reason, reporterId: interaction.user.id })],
|
||||||
components: [reportActionRow(inserted.id)],
|
components: [reportActionRow(inserted.id)],
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user