From c921e5cf8862def58029bd1801074c51113f86ae Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Fri, 7 Mar 2025 17:22:21 -0500 Subject: More settings; Better error message; Database --- bot/src/models/guild-settings.js | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) (limited to 'bot/src/models/guild-settings.js') 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 + }, }); -- cgit v1.2.3