Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.mentions needs to recognize mentions of people not in guild #83

Open
Ryu945 opened this issue Mar 1, 2017 · 2 comments
Open

.mentions needs to recognize mentions of people not in guild #83

Ryu945 opened this issue Mar 1, 2017 · 2 comments

Comments

@Ryu945
Copy link

Ryu945 commented Mar 1, 2017

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.

@macdja38
Copy link
Contributor

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.

@Ryu945
Copy link
Author

Ryu945 commented Mar 21, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants