[BUG] - Get Target returns unknown user if no target is specified #4

Closed
opened 2025-09-01 07:19:15 -07:00 by nerdychara · 1 comment
Member

Attestations

  • I have read and agree to the Code of Conduct
  • I have read and agree to the Community Guidelines.
  • I have confirmed that the issue I am opening is unique, and has not already been reported (whether closed or not).
  • I have reviewed the Security Policy and have determined that this is not a security vulnerability.

Describe your Issue:

For whatever reason, when not specifying the user, unknown-user shows up instead of a member of the server.

Can you reproduce this issue?

Yes

Steps to Reproduce:

Run /throw in 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

### Attestations - [x] I have read and agree to the [Code of Conduct](https://docs.nhcarrigan.com/community/coc/) - [x] I have read and agree to the [Community Guidelines](https://docs.nhcarrigan.com/community/guide/). - [x] I have confirmed that the issue I am opening is unique, and has not already been reported (whether closed or not). - [x] I have reviewed the [Security Policy](https://docs.nhcarrigan.com/legal/security/) and have determined that this is not a security vulnerability. ### Describe your Issue: For whatever reason, when not specifying the user, `unknown-user` shows up instead of a member of the server. ### Can you reproduce this issue? Yes ### Steps to Reproduce: Run `/throw` in 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
nerdychara added the
status
awaiting triage
label 2025-09-01 07:19:15 -07:00
Owner

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".

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".
naomi closed this issue 2025-09-01 10:37:40 -07:00
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: nhcarrigan/pavelle#4