server admin role config

This commit is contained in:
SowinskiBraeden committed 2023-04-03 08:27:07 -07:00
1 parent 6fbd23c8b9
commit ecdd3d649f
1 file changed
+2
+2
View File
@@ -334,6 +334,8 @@ class DayzArmbands extends Client {
.setColor(this.config.Colors.Red)
.setDescription(`**NOTICE:**\n**${data.player}** has combat logged at <t:${unixTime}> when fighting **${data.lastHitBy}**`);
if (client.exists(guild.adminRole)) channel.send({ content: `<@&${guild.adminRole}>` });
return channel.send({ embeds: [combatLog] });
}