From 6eeb5aa6e1872e7b629d7e1961c8503199d56e2b Mon Sep 17 00:00:00 2001 From: "Navy.gif" Date: Wed, 27 Jul 2022 15:43:09 +0300 Subject: [PATCH] typo fix --- src/structure/components/commands/utility/Selfrole.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structure/components/commands/utility/Selfrole.js b/src/structure/components/commands/utility/Selfrole.js index 998d27f..5b08f3c 100644 --- a/src/structure/components/commands/utility/Selfrole.js +++ b/src/structure/components/commands/utility/Selfrole.js @@ -34,7 +34,7 @@ class SelfroleCommand extends SlashCommand { const { guild, member } = invoker; const { selfrole } = await guild.settings(); if (!selfrole.roles.length) return { index: 'COMMAND_SELFROLE_NONE', emoji: 'failure' }; - const me = await guild.resolveMemberr(this.client.user); + const me = await guild.resolveMember(this.client.user); const ownHighest = me.roles.highest; const memberRoles = member.roles.cache.map((r) => r.id);