Skip to content

Commit

Permalink
fix: userId not working
Browse files Browse the repository at this point in the history
  • Loading branch information
Faf4a committed Oct 21, 2023
1 parent 5f02679 commit 1614826
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/functions/user/userID.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module.exports = async d => {
const res = d.client.users.cache.findKey(x => x.username.toLowerCase() === user.addBrackets().toLowerCase());
if (!res) return d.aoiError.fnError(d, 'custom', {inside: data.inside}, 'Invalid User Provided In');

data.result = res.id;
data.result = res;

return {
code: d.util.setCode(data)
Expand Down

0 comments on commit 1614826

Please sign in to comment.