creesch / discordIRCd

A node.js script that allows you to connect to discord with your irc client.
Apache License 2.0
115 stars 21 forks source link

Better handling of Claimed Account restricted guilds #14

Open Scrxtchy opened 7 years ago

Scrxtchy commented 7 years ago

When connecting to a guild in IRC that has a claimed account restriction with an unclaimed account, this error is thrown

(node:22110) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): TypeError: Cannot set property 'discordDisplayName' of undefined
data: QUIT :Leaving

An interesting alternative is to have your name as your username+descriminator, and have all channels as voiced only/read only

creesch commented 7 years ago

I have no idea what "claimed account restriction" is, can you explain a bit more?

Scrxtchy commented 7 years ago

creesch commented 7 years ago

Hrm... but joining those servers is done from discord itself. DiscordIRCd doesn't have support for joining servers you are not yet in. So I am not exactly sure how this can cause issues?

It is honestly also not something I am planning to integrate in the short term since most people will be joining through an invite link anyway.

Scrxtchy commented 7 years ago

Works fine though? I can read messages, and even join voice chat

creesch commented 7 years ago

Oh... right it is read only...

Gotcha, I guess I should account for that.

rctgamer3 commented 3 years ago

This is no longer relevant as Discord seemingly no longer exposes this kind of functionality to discord.js