mirror of
https://github.com/nx-bat/discordbot-ng.git
synced 2026-09-22 10:29:10 -04:00
Attempt a few extra ways to resolve users
This commit is contained in:
@@ -59,7 +59,7 @@ export default {
|
||||
|
||||
const idToUse = matches ? matches.groups!.id : discordUserInput;
|
||||
|
||||
const user = await resolveUser(client, idToUse);
|
||||
const user = await resolveUser(client, idToUse, interaction.guild);
|
||||
|
||||
if (!user) return interaction.editReply('User not found.');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user