userinfo: copypaste moment
This commit is contained in:
parent
6717e96dfe
commit
43133afb20
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ userinfo.callback = async function (msg, line) {
|
|||
|
||||
let user;
|
||||
try {
|
||||
user = await hf.bot.requestHandler.request("GET", APIEndpoints.USER(id), false);
|
||||
user = await hf.bot.requestHandler.request("GET", APIEndpoints.USER(id), true);
|
||||
} catch (err) {
|
||||
if (err.code == 10013) {
|
||||
return "User not found.";
|
||||
|
|
Loading…
Reference in a new issue