generated from nhcarrigan/template
[BUG] - Get Target returns unknown user if no target is specified #4
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Attestations
Describe your Issue:
For whatever reason, when not specifying the user,
unknown-usershows up instead of a member of the server.Can you reproduce this issue?
Yes
Steps to Reproduce:
Run
/throwin a server without specifying a target.I don't necessarily know what is happening. I suspect the cache doesn't have any users in it and it's returning null. I wouldn't mind working on a solution on a good day.
Operating System:
N/A
Browser:
In Discord?
Are you willing and able to contribute a fix?
Yes
This is actually not a bug. This is the behaviour of Discord's client - if you do not have the user cached locally, the client displays "unknown-user".