userinfo: copypaste moment

This commit is contained in:
Cynthia Foxwell 2024-08-13 23:14:59 -06:00
parent 6717e96dfe
commit 43133afb20

View file

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