Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Miscord uses discord username instead of server nickname in messenger channel #477

Open
Kryszak opened this issue Nov 25, 2020 · 5 comments
Labels
API issue currently impossible, because API (or module) doesn't allow to do it bug

Comments

@Kryszak
Copy link

Kryszak commented Nov 25, 2020

Describe the bug
Messages sent from discord to messenger contains discord username instead of server nickname.

To Reproduce
Steps to reproduce the behavior:

  1. On server with miscord, set different nickname than account username
  2. Send message to miscord channel
  3. Message in messenger contains account username instead of server nickname

Expected behavior
Messages sent to messenger should start with server nickaname.

Specifications:

  • OS:
    n/a

  • Version:
    latest

  • Node.js version:
    n/a

@kamieniarz
Copy link

Still no update on that issue? 😫

@Kryszak
Copy link
Author

Kryszak commented Dec 11, 2020

Looking at code it seems like problem lies in file toMessenger.ts, line 9:
const username = message.member ? (message.member.nickname ?? message.author.username) : message.author.username
I guess discord.js does not return message author's nickname correctly.
Miscord uses discord.js version" ^11.5.1", when current version of discord.js on npm is 12.5.1, maybe updating it would help?

@ptrcnull
Copy link
Member

Updating discord.js to v12 is actually a bit of work, but I'll get to working on it soon, I guess...

@ptrcnull ptrcnull added API issue currently impossible, because API (or module) doesn't allow to do it bug labels Dec 29, 2020
@Kryszak
Copy link
Author

Kryszak commented Jan 9, 2021

I recently found out that messages coming from messanger to discord also doesn't care about nicknames, so messenger -> discord message is shown with name and surname instead of messenger chat nickcname.

@kamieniarz
Copy link

Cause messenger doesn't have nicknames anymore

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
API issue currently impossible, because API (or module) doesn't allow to do it bug
Projects
None yet
Development

No branches or pull requests

3 participants