-
-
Notifications
You must be signed in to change notification settings - Fork 101
Closed
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomerspriority: major
Description
The recent merge #472 messed up the ability for /audit
to retrieve the actual users who used the actions against the target.
See the following example:
Reason
The bug comes from exchanging the previously correct
jda.retrieveUserById(action.authorId())
by the wrong
jda.getUserById(action.authorId());
Latter only checks the JDA cache instead of asking Discord. The cache is rarely reliable (only for the list of guilds).
Changing this back is fairly simple, but requires to make the code properly async using RestAction
.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomerspriority: major