cordless icon indicating copy to clipboard operation
cordless copied to clipboard

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

Open L-as opened this issue 5 years ago • 6 comments

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 avatar Jun 03 '20 11:06 L-as

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

lyokofirelyte avatar Jun 09 '20 17:06 lyokofirelyte

Having the same issue, not sure how to fix.

Death916 avatar Jun 15 '20 03:06 Death916

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 avatar Jun 24 '20 21:06 Bios-Marcel

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.

L-as avatar Jun 26 '20 00:06 L-as

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

TheDinoDude avatar Aug 25 '20 17:08 TheDinoDude

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

Bios-Marcel avatar Aug 25 '20 17:08 Bios-Marcel