From cc25953e909de3b72fae61777a9b2f5b964770df Mon Sep 17 00:00:00 2001 From: Supositware Date: Thu, 13 Oct 2022 15:53:47 +0200 Subject: [PATCH] fetch --- commands/owner/ublacklist.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/owner/ublacklist.js b/commands/owner/ublacklist.js index 7c869d6b..1413671e 100644 --- a/commands/owner/ublacklist.js +++ b/commands/owner/ublacklist.js @@ -33,7 +33,7 @@ export default { const body = { type:command, uid: userid, reason: reason }; Blacklists.create(body); let user = userid; - if (command !== 'guild') {user = client.users.resolve(userid).tag;} + if (command !== 'guild') {user = client.users.fetch(userid).tag;} return interaction.editReply(`${user} has been blacklisted from ${command} with the following reason ${reason}`); }