From 2e2bd57598128cf9c84a149d0b2e9b9bf417750f Mon Sep 17 00:00:00 2001 From: WatDuhHekBro <44940783+WatDuhHekBro@users.noreply.github.com> Date: Wed, 23 Dec 2020 04:36:18 -0600 Subject: [PATCH] Fixed the info command and its problems (kinda) --- src/commands/info.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/info.ts b/src/commands/info.ts index d8ddda6..d87044f 100644 --- a/src/commands/info.ts +++ b/src/commands/info.ts @@ -145,7 +145,7 @@ export default new Command({ description: "Displays info about mentioned user.", async run($: CommonLibrary): Promise { // Transforms the User object into a GuildMember object of the current guild. - const member = $.guild?.members.resolve($.args[0]); + const member = $.guild?.members.resolve($.args[0]) ?? (await $.guild?.members.fetch($.args[0])); if (!member) return $.channel.send(