diff --git a/structure/client/components/settings/utility/Autorole.js b/structure/client/components/settings/utility/Autorole.js index 458dee2..2adff84 100644 --- a/structure/client/components/settings/utility/Autorole.js +++ b/structure/client/components/settings/utility/Autorole.js @@ -30,7 +30,7 @@ class AutoroleSetting extends Setting { async handle(message, params) { - const setting = message.guild._settings[this.index] || this.default[this.index]; + const setting = message.guild._settings[this.index]; const { guild } = message; const { resolver } = this.client; const response = await resolver.resolveMethod(params, null, setting.roles, resolver.resolveRoles.bind(resolver), guild); @@ -105,7 +105,6 @@ class AutoroleSetting extends Setting { inline: false } ]; - } }