Skip to content
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

Bot no longer using server-specific Discord nicknames, using default Discord usernames instead #569

Closed
atraira opened this issue Nov 10, 2020 · 8 comments

Comments

@atraira
Copy link

atraira commented Nov 10, 2020

Been running this bot for a few years now and just recently it started using default Discord usernames in IRC instead of the name specific to the Discord server. This also means that the webhook avatar icons don't match up when typing in IRC and it posting back to Discord. Haven't made any configuration changes to the bot.

https://i.imgur.com/eq1D6Fg.png
https://i.imgur.com/b2jt5BF.png

@atraira atraira changed the title Bot no longer using server-specific Discord nicknames, using default Discord names instead Bot no longer using server-specific Discord nicknames, using default Discord usernames names instead Nov 10, 2020
@atraira atraira changed the title Bot no longer using server-specific Discord nicknames, using default Discord usernames names instead Bot no longer using server-specific Discord nicknames, using default Discord usernames instead Nov 10, 2020
@Throne3d
Copy link
Collaborator

Throne3d commented Nov 10, 2020

Hey there! What version of discord-irc are you on? Additionally, do you receive any sort of error in the console when this happens? I just tested it on v2.9.0 on a test server, and it seems to track my nickname changes fine between "Throne" and "ABC", so this doesn't look straightforward to resolve from my end.

@atraira
Copy link
Author

atraira commented Nov 11, 2020

hm, 2.6.1 no, no errors are logged.

will give updating a shot.

@atraira
Copy link
Author

atraira commented Nov 11, 2020

updating has fixed the problem. who would have thought?

@atraira atraira closed this as completed Nov 11, 2020
@Throne3d
Copy link
Collaborator

Throne3d commented Nov 11, 2020

Awesome! Discord probably changed something in the structure of the API response, and the old version of discord.js doesn't recognize it.

I'll investigate adding this to the README – I have a few other items I could add there in case anyone else encounters the same problem!

@jmbjr
Copy link

jmbjr commented Nov 29, 2020

hm. updating to 2.9.0 didn't change my problem. the bot is always displaying the underlying account name in irc

@jmbjr
Copy link

jmbjr commented Nov 29, 2020

here's a screenshot. my account is @johnstein but I changed it to juanpiedra for this server. in discord, my name is 'juanpiedra' but when I type anything, the log from the bot shows , my account name.
image
I'm on 2.9.0 using commit 4f44995 and I've closed and restarted the bot several times.

@jmbjr
Copy link

jmbjr commented Nov 30, 2020

I did a completely fresh install, npm install -g discord-irc, and it works OK now. I probably had some stupid dependency issues when I manually tried to update. sorry for the false alarm.

@Throne3d
Copy link
Collaborator

Throne3d commented Dec 5, 2020

I'm glad you got it to work! I'll add to the FAQ that it may take a clean install.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants