fix/killfeed not updating #50
This commit is contained in:
3 files changed
+4
-4
No files matched your search
@@ -154,7 +154,7 @@ module.exports = {
|
||||
await UpdatePlayer(client, victimStat);
|
||||
|
||||
if (!channel) return;
|
||||
const webhook = await GetWebhook(this, NAME, guild.killfeedChannel);
|
||||
const webhook = await GetWebhook(client, NAME, guild.killfeedChannel);
|
||||
WebhookSend(client, webhook, { embeds: [killEvent]});
|
||||
|
||||
// if (client.exists(channel)) await channel.send({ embeds: [killEvent] });
|
||||
@@ -277,7 +277,7 @@ module.exports = {
|
||||
|
||||
if (!channel) return;
|
||||
|
||||
const webhook = await GetWebhook(this, NAME, guild.killfeedChannel);
|
||||
const webhook = await GetWebhook(client, NAME, guild.killfeedChannel);
|
||||
|
||||
WebhookSend(client, webhook, { embeds: [killEvent] });
|
||||
if (client.exists(receivedBounty) && client.exists(channel)) WebhookSend(client, webhook, { content: `<@${killerStat.discordID}>`, embeds: [receivedBounty] });
|
||||
|
||||
Reference in new issue
Block a user