forked from Galactic/galactic-bot
misc fixes
This commit is contained in:
parent
7ebca4bae2
commit
7fbd30c30e
@ -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
|
||||
}
|
||||
];
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user