Use resolveUser with whois

This commit is contained in:
Tarrgon
2025-09-12 08:32:59 -04:00
parent 8940c3d652
commit aa08477e9b
2 changed files with 10 additions and 7 deletions
+2 -2
View File
@@ -23,8 +23,8 @@ export default {
const matches = mentionRegex.exec(input);
mentionRegex.lastIndex = 0;
const idToUse = matches ? matches.groups!.id : input;
const valueToUse = matches ? matches.groups!.id : input;
handleWhoIsInteraction(interaction, idToUse, !(await channelIsInStaffCategory(interaction.channel as GuildBasedChannel)));
handleWhoIsInteraction(interaction, valueToUse, !(await channelIsInStaffCategory(interaction.channel as GuildBasedChannel)));
}
};