SideProjectGuys / invite-manager-bot

A discord bot that tracks invites and much more
https://docs.invitemanager.co/
GNU General Public License v3.0
168 stars 135 forks source link

the bot does not show invited users, if you restart it then invited users will appear, how to fix this? #189

Closed eshkaflex closed 3 years ago

eshkaflex commented 3 years ago

private async onGuildMemberAdd(guild: Guild, member: Member) { console.log( 'EVENT(guildMemberAdd):', guild.id, guild.name, member.id, member.username + '#' + member.discriminator );

I think the error is somewhere here

chaun14 commented 3 years ago

Add some console.log to know where the problem comes from

eshkaflex commented 3 years ago

Add some console.log to know where the problem comes from

no errors were sent to the console the required event handler in the tracking subsystem is not called, so the bot does not update the data in the cache, since it cannot react to this event.

chaun14 commented 3 years ago

does your bot has member intent checked? Otherwise it can't recieve the guildmemberadd or remove event

eshkaflex commented 3 years ago

does your bot has member intent checked? Otherwise it can't recieve the guildmemberadd or remove event

Where i can check it?

eshkaflex commented 3 years ago

does your bot has member intent checked? Otherwise it can't recieve the guildmemberadd or remove event

i fixed it , thx

FUCKYOUGITHUBFUCKYOU commented 3 years ago

what did you fix? I have same issue, welcome message not popping up etc, but if you do !invites it shows, only after restart is the count updated though.