In The Far Lands, we have a Discord integration that allows people to talk to their town members in real time through Discord. We achieve this by creating a private town channel for every town, and limit the permissions such that only those who are inside the town can see and chat in the channel.
To link your accounts in game, simply type
/discord link <discord name>#<discord number>. This will put a message in the
#link-accounts channel asking you to react to verify your account. React with the thumbs up emoji and your accounts
will be linked!