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

Relay bot is pinging the wrong person #40

Open
mr5z opened this issue Dec 12, 2020 · 1 comment
Open

Relay bot is pinging the wrong person #40

mr5z opened this issue Dec 12, 2020 · 1 comment
Labels
Planned Planned to be compelted in the near future

Comments

@mr5z
Copy link
Contributor

mr5z commented Dec 12, 2020

See the start of confusion here: https://discord.com/channels/777817116169863179/777824562376867851/787357814975889428

@li223
Copy link

li223 commented Dec 12, 2020

To elaborate, the problem comes when someone's username contains the same characters as the target user.

In this case. It was mine where I set it to "Li" and the target user had "Linux" in the first part of their name. Hence, it returned both of us. The problem seems to be mainly with this block where if more than 1 user is returned it just uses the first user, which in this case was me, and not the actual target user.

@butler1233 butler1233 added the Planned Planned to be compelted in the near future label Jun 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Planned Planned to be compelted in the near future
Projects
None yet
Development

No branches or pull requests

3 participants