Localisation changes

Locale is global not per guild
This commit is contained in:
Isaac
2021-03-16 11:16:08 +00:00
parent b904a4ad3d
commit 57ca04288b
3 changed files with 9 additions and 13 deletions

View File

@@ -57,7 +57,7 @@ module.exports = async (log) => {
await sequelize.authenticate();
log.success('Connected to database successfully');
} catch (error) {
log.warn('Unable to connect to database');
log.warn('Failed to connect to database');
log.error(error);
return process.exit();
}
@@ -72,10 +72,6 @@ module.exports = async (log) => {
type: DataTypes.STRING,
defaultValue: config.defaults.colour
},
locale: {
type: DataTypes.STRING,
defaultValue: config.defaults.locale
},
log_messages: {
type: DataTypes.BOOLEAN,
defaultValue: config.defaults.log_messages