Adding interfacing for sqlite

This commit is contained in:
Bradley committed 2025-06-22 22:08:01 -04:00
1 parent b307630642
commit d9561d9179
7 files changed
+1755 -14

No files matched your search

+5 -1
View File
@@ -11,13 +11,17 @@ const client : Client = new Client({
]
})
if (config.DB_MODE == "sqlite") {
const db = new utilities.sqlite.SqliteDB("breadbot_test.db")
}
client.once(Events.ClientReady, () => {
// TODO Winston should handle this
console.log("Breadbot is ready")
})
client.on(Events.GuildCreate, async (guild : Guild) => {
await utilities.command_utils.deployCommands(guild.id)
await utilities.command.deployCommands(guild.id)
})
client.on(Events.InteractionCreate, async (interaction: Interaction) => {