IceflowRE / irc-discord-relay

IRC - Discord Relay, with message and other information sharing
MIT License
4 stars 3 forks source link

Preventing impersonation. #11

Open shacknetisp opened 5 years ago

shacknetisp commented 5 years ago

Currently people on discord can change their name so that it is identical to someone else when relayed to IRC.

Some option should be added to prevent this, perhaps including the #xxxx tag or using the account name if that's available.

IceflowRE commented 5 years ago

Using the account name is the best way to prevent this. But the account name may not present the name which is known in the community. So a mix? Like Eisblume#1698 | Iceflower would be the best option imho, but could be very long?

shacknetisp commented 5 years ago

That's probably too long.

Another option could be using the display name and then hashing the entire account name to 2-6 characters like Iceflower#ba2b or Iceflower [ba2b]

If the added information would be too long, then maybe also the anti-impersonation would only go into effect if there's multiple people with the same name in the discord. This might need the addition of messages for when someone renaming results in a collision so people in IRC aren't confused.