diff options
| author | Andrew Lee <andrew@alee14.me> | 2025-03-07 17:22:21 -0500 |
|---|---|---|
| committer | Andrew Lee <andrew@alee14.me> | 2025-03-07 17:22:21 -0500 |
| commit | c921e5cf8862def58029bd1801074c51113f86ae (patch) | |
| tree | 99c8c513fd56863984ee458e747f69a87ad3c715 /bot/src/models/guild-settings.js | |
| parent | cc06b8ed4e4e0aef02dfd8ab15df22a57a177a0a (diff) | |
| download | AleeBot-c921e5cf8862def58029bd1801074c51113f86ae.tar.gz AleeBot-c921e5cf8862def58029bd1801074c51113f86ae.tar.bz2 AleeBot-c921e5cf8862def58029bd1801074c51113f86ae.zip | |
More settings; Better error message; Database
Diffstat (limited to 'bot/src/models/guild-settings.js')
| -rw-r--r-- | bot/src/models/guild-settings.js | 28 |
1 files changed, 18 insertions, 10 deletions
diff --git a/bot/src/models/guild-settings.js b/bot/src/models/guild-settings.js index 81cfbc2..bb4d30b 100644 --- a/bot/src/models/guild-settings.js +++ b/bot/src/models/guild-settings.js @@ -1,4 +1,4 @@ -import { INTEGER, STRING } from 'sequelize'; +import { INTEGER, STRING, BOOLEAN } from 'sequelize'; import { sequelize } from '../utils/sequelize.js'; export const guildSettings = sequelize.define('guild-settings', { @@ -14,14 +14,22 @@ export const guildSettings = sequelize.define('guild-settings', { logChannelID: { type: STRING, allowNull: true - } - // qotdChannelID: { - // type: Sequelize.STRING, - // allowNull: true - // }, - // qotdToggle: { - // type: Sequelize.BOOLEAN, - // allowNull: true - // } + }, + suggestionsChannelID: { + type: STRING, + allowNull: true + }, + qotdChannelID: { + type: STRING, + allowNull: true + }, + qotdToggle: { + type: BOOLEAN, + allowNull: true + }, + ollamaEnabled: { + type: BOOLEAN, + allowNull: true + }, }); |
