ayn2op / discordo

A lightweight, secure, and feature-rich Discord terminal client.
MIT License
2.02k stars 63 forks source link

Replace IDs in mentions with usernames #348

Closed cyberme0w closed 5 months ago

cyberme0w commented 6 months ago

Hi!

Currently, discordMessage.Content displays mentions with USERID, a number with which the user can not really understand who was mentioned.

I would like to propose to replace it with the user's actual username, so that

User: I'm going to ping <@123123123>
AnotherUser: Thanks for the ping!

becomes

User: I'm going to ping @AnotherUser
AnotherUser: Thanks for the ping!

Additionally, to make mentions more visible, I would suggest making them bold and/or underlined, possibly making it a config option.

I do have a patch for this already (without the config bit) and could open a PR if there is interest. Cheers!