fix/undefined Templates

This commit is contained in:
SowinskiBraeden committed 2023-09-04 18:13:27 -07:00
1 parent a16a407002
commit c93cccfdb0
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -80,7 +80,7 @@ module.exports = {
if (killedBy == Templates.LandMine || killedBy == Templates.Explosion || killedBy == Templates.Vehicle) {
const cod = killedBy == Templates.LandMine ? `Land Mine Trap` : info.causeOfDeath;
const coord = showCoords ? `\n**Location [${info.victimPOS[0]}, ${info.victimPOS[1]}](https://www.izurvive.com/chernarusplussatmap/#location=${info.victimPOS[0]};${info.victimPOS[1]})**` : '';
const killMessage = killedBy == Templayed.Vehicle ? 'run over by' : 'blew up from';
const killMessage = killedBy == Templates.Vehicle ? 'run over by' : 'blew up from';
const killEvent = new EmbedBuilder()
.setColor(client.config.Colors.Default)