userinfo: copypaste moment

This commit is contained in:
Cynthia Foxwell 2024-08-14 10:58:53 -06:00
parent a5da10b6aa
commit 7004395b3d

View file

@ -33,7 +33,7 @@ userinfo.callback = async function (msg, line) {
if (!line || line == "") { if (!line || line == "") {
id = msg.author?.id ?? msg.user?.id; id = msg.author?.id ?? msg.user?.id;
} else { } else {
const lookup = await lookupUser(msg, user); const lookup = await lookupUser(msg, line);
if (lookup == "No results" || lookup == "Canceled" || lookup == "Request timed out") { if (lookup == "No results" || lookup == "Canceled" || lookup == "Request timed out") {
return lookup; return lookup;
} else { } else {