mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2025-09-02 16:41:25 +03:00
Localisation changes
Locale is global not per guild
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user