PJB3005 / MoMMI

Old SS14 Discord server bot.
MIT License
12 stars 29 forks source link

Discord mention translation fails on special cases. #7

Closed ComicIronic closed 7 years ago

ComicIronic commented 7 years ago

<@&239822060770033664> was displayed direct to IRC, without a translation. Looks like an issue with the &.

PJB3005 commented 7 years ago

It's because <@&[ID]> is a role mention.

Same issue for <#[ID]> for channel mentions and <:[name]:[ID]> which is custom emoji.