Update main.js
This commit is contained in:
parent
672ec62180
commit
a54a88af51
1 changed files with 1 additions and 1 deletions
2
main.js
2
main.js
|
@ -201,7 +201,7 @@ async function pingEvent() {
|
|||
const sysChannelId = sysChannelIds[i];
|
||||
const guild = client.guilds.cache.find((g) => g.id == guildId);
|
||||
for (let j = 0; j < birthdayList.length; j++) {
|
||||
const userId = birthdayList[i].id;
|
||||
const userId = birthdayList[j].id;
|
||||
if ((await guild.members.fetch()).find(user => user.id == userId) != undefined) {
|
||||
const gifAmount = 12;
|
||||
const embed = await help.getGifEmbed(`https://g.tenor.com/v1/search?q=anime-hug&key=${process.env.TENOR}&limit=${gifAmount}`, gifAmount);
|
||||
|
|
Loading…
Reference in a new issue