-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sometimes bot doesnt triger when anybody change nickname #4924
Comments
Edit: oversight, first return will never trigger due to that! Will re-open until further investigations |
I know, there is no software problem here. The code is working well. I tested I tried it on 2 different servers(1100 people and 130.000 people). It is working well on first server but it did not work on second server like video |
|
Could this maybe be related to #4986? I am not too sure what exactly is happening in the video, but if the member for which the event is not being emitted is uncached, that would seem plausible. |
I think I have an issue with the cache. Works just fine 2months ago, now there is no update when a user react to my message unless he "speak" on the channel. How to uncache a user? |
client.on('guildMemberUpdate', async (oldMember, newMember) => {
if(oldMember.guild.remove && newMember.guild.add) return;
let onlem = oldMember.displayName == newMember.displayName
const kanal = client.channels.cache.get('706601933066076190');
if (!onlem) { kanal.send(
**ID:** \
${newMember.user.id}`İsim Değiştiren: <@${newMember.user.id}>`) }});
https://www.youtube.com/watch?v=XFv9fFnSlhw&feature=youtu.be
bot tagged saitsarp but didnt tag furkanuskanus
and sometimes mention irrelevant people like the first person I checked his logs
The text was updated successfully, but these errors were encountered: