discordie icon indicating copy to clipboard operation
discordie copied to clipboard

.mentions needs to recognize mentions of people not in guild

Open Ryu945 opened this issue 7 years ago • 2 comments

If you type a correct <@12346789> and that is a correct user id, then .mentions needs to recognize that even if they are not in the guild.

Ryu945 avatar Mar 01 '17 21:03 Ryu945

While I may be wrong about this I'm pretty sure this is actually the mentions array included with the message by discord. Which would be the people around who were actually mentioned / notified by the message. If you dislike this I'd... suggest either simply using regex to search the message something like /<@(?:!)(\d+)>/ (may not be right)... or maybe try talking to the discord devs... though I feel they may shoot down the idea.

macdja38 avatar Mar 19 '17 07:03 macdja38

I'm saying that Discordie .mentions can not recognize an ID from someone who has talked in chat and left. Discord allows Discordie to pukk any IUser. Even if that person has never talked in a guild the bot is inside. Somehow, Discordie's implementation only allows the ones that can be seen in guilds. I believe this is why .mentions can't recognize these people.

Ryu945 avatar Mar 21 '17 21:03 Ryu945