sm00th / bitlbee-discord

Bitlbee plugin for Discord (http://discordapp.com)
GNU General Public License v2.0
290 stars 27 forks source link

Mentions are shown as numerical identifiers #2

Closed madx closed 8 years ago

madx commented 8 years ago

Hi

First and foremost, thank you very much for this project, it helped me regroup all my chats in my IRC client :-)

I have an issue though with mentions. When someone mentions somebody, it shows up as <@105630595446521857> instead of @RealName.

madx commented 8 years ago

After poking a bit with the API, it seems that what has to be done is replace these chunks using a request to /users/<id> to replace with the username.

sm00th commented 8 years ago

Yes, I am aware of this issue, it is also a two-way issue, i.e. when you mention someone's nick they won't get properly highlighted in discord because their id needs to be added to "mentions" array within the message structure. I'll get on fixing this after I merge ws branch to master.

madx commented 8 years ago

Great news! Keep up the good work ;)

kud commented 8 years ago

:+1:

I didn't know this plugin, it makes me want to use it. :)

sm00th commented 8 years ago

Fixed in 6bb5a8b

madx commented 8 years ago

Great :+1: Thanks a lot!

kud commented 8 years ago

Thanks :)