mirror of
https://github.com/AsgardEternal/SquadJS.git
synced 2024-09-28 17:34:25 -05:00
Specify if event is a suicide or teamkill in discord-teamkill plugin
This commit is contained in:
parent
cc68bbc180
commit
17cfe83b44
@ -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: [
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user