Specify if event is a suicide or teamkill in discord-teamkill plugin

This commit is contained in:
Thomas Smyth 2020-05-15 19:11:39 +01:00
parent cc68bbc180
commit 17cfe83b44

View File

@ -32,7 +32,7 @@ export default async function plugin(
channel.send({
embed: {
title: `Teamkill: ${info.attacker.name}`,
title: `${info.attacker.steamID === info.victim.steamID ? 'Suicide' : 'Teamkill'}: ${info.attacker.name}`,
color: options.color,
fields: [
{