Skip to content
This repository has been archived by the owner on Dec 16, 2021. It is now read-only.

Only users whom I have DM'ed before appear in the UserTree. #280

Open
L-as opened this issue Jun 3, 2020 · 6 comments
Open

Only users whom I have DM'ed before appear in the UserTree. #280

L-as opened this issue Jun 3, 2020 · 6 comments
Labels
bug Something isn't working

Comments

@L-as
Copy link

L-as commented Jun 3, 2020

What happened

I can not @ people who I have not DM'ed before, and they do not appear in the tree of users, which is a big problem.

How do you reproduce this bug

Try @'ing people. I DM'ed some people I haven't before, restarted cordless, and I could then @ them, in addition to them being shown in the user tree.

How to fix

I am not sure how to fix this; it seems like a very odd bug. Do you have any ideas? I am open to fixing it myself.

@L-as L-as changed the title Can only @ people whom I have DM'ed before Only users whom I have DM'ed before appear in the UserTree. Jun 3, 2020
@lyokofirelyte
Copy link

Having the same issue, it won't show anyone in the user list for servers unless I have DMed them at some point.

@Death916
Copy link

Having the same issue, not sure how to fix.

@Bios-Marcel
Copy link
Owner

Yes, this is a known bug introduced to a change in the discord APIs. I just didn't fix it yet, as I haven't been coding lately.

@Bios-Marcel Bios-Marcel added the bug Something isn't working label Jun 24, 2020
@L-as
Copy link
Author

L-as commented Jun 26, 2020

FWIW I just worked around it by making the reply button put in the user id instead of name and hash (e.g. @<412894512783> instead of user#9561). You could probably also add the users who have recently sent a message pretty easily.

@TheDinoDude
Copy link
Contributor

Yes, this is a known bug introduced to a change in the discord APIs. I just didn't fix it yet, as I haven't been coding lately.

what fix is there as I'd like to add the fix to my own fork

@Bios-Marcel
Copy link
Owner

This will require support for bulk member events via the websocket api.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants