diff --git a/structure/client/components/settings/moderation/Mute.js b/structure/client/components/settings/moderation/Mute.js index c5eadeb..6a317e3 100644 --- a/structure/client/components/settings/moderation/Mute.js +++ b/structure/client/components/settings/moderation/Mute.js @@ -90,7 +90,7 @@ class MuteSetting extends Setting { error: true }; - const foundRole = await this.client.resolver.resolveRole(args.join(' '), message.guild); + const foundRole = await message.guild.resolveRole(args.join(' ')); if(foundRole) { const prompt = await message.prompt(message.format('S_MUTE_ROLEPROMPT', { name: foundRole.name, id: foundRole.id }), { emoji: 'loading' }); const response = prompt.content.toLowerCase();