Fix settings

This commit is contained in:
Isaac
2021-05-21 21:15:54 +01:00
parent 3918bc136c
commit 777719d1b3
21 changed files with 24 additions and 23 deletions

View File

@@ -69,7 +69,7 @@ module.exports = class CommandManager {
async handle(message) {
if (message.author.bot) return; // ignore self and other bots
const settings = await message.guild.settings;
const settings = await message.guild.getSettings();
const i18n = this.client.i18n.getLocale(settings.locale);
let is_blacklisted = false;