Skip to content

Commit

Permalink
add General_kill count
Browse files Browse the repository at this point in the history
  • Loading branch information
hmes98318 authored Dec 28, 2021
1 parent ea5e62a commit dfd1a2d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions r6/embed.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ module.exports = {
{ name: 'MMR', value: `**${mmr}**`, inline: true },
{ name: '\u200B', value: '\u200B' },
{ name: 'Win/Loss', value: `**${win_percent}%**\nWin **${win}**\nLoss **${loss}**`, inline: true },
{ name: 'K/D', value: `**${kd}**\nKill **${kill}**\nDeath **${death}**`, inline: true },
{ name: 'K/D', value: `**${kd}**\nKills **${kill}**\nDeath **${death}**`, inline: true },
{ name: 'Kill/Match', value: `**${killMatch}**`, inline: true },
)
.setTimestamp()
Expand All @@ -41,15 +41,15 @@ module.exports = {

{ name: '\u200B', value: '\u200B' },
{ name: 'Win/Loss', value: `**${win_percent}%**\nWin **${win}**\nLoss **${loss}**`, inline: true },
{ name: 'K/D', value: `**${kd}**\nKill **${kill}**\nDeath **${death}**`, inline: true },
{ name: 'K/D', value: `**${kd}**\nKills **${kill}**\nDeath **${death}**`, inline: true },
{ name: 'Kill/Match', value: `**${killMatch}**`, inline: true },
)
.setTimestamp()
.setFooter('', url);

return trackerEmbed
},
R6_General_Embed: function (header, user, url, timePlayed, win_percent, win, loss, kd, death, headshot, headShots, meleeKills, blindKills) {
R6_General_Embed: function (header, user, url, timePlayed, win_percent, win, loss, kd, kill,death, headshot, headShots, meleeKills, blindKills) {
const trackerEmbed = new Discord.MessageEmbed()
.setColor('#ff00ee')
.setTitle(`Open ${user} R6 Tracker Profile`)
Expand All @@ -59,7 +59,7 @@ module.exports = {
.setThumbnail(header)
.addFields(
{ name: 'Win/Loss', value: `**${win_percent}**\nWin **${win}**\nLoss **${loss}**`, inline: true },
{ name: 'K/D', value: `**${kd}**\n\Death **${death}**`, inline: true },
{ name: 'K/D', value: `**${kd}**\n\Kills **${kill}**\n\Death **${death}**`, inline: true },
{ name: 'Time Played', value: `**${timePlayed}**`, inline: true },
{ name: '\u200B', value: '\u200B' },
{ name: 'Head Shot', value: `**${headshot}**\nHead Shots **${headShots}**`, inline: true },
Expand Down

0 comments on commit dfd1a2d

Please sign in to comment.