From d37cc8c56cbf8c9ffe7023c671abe0d579ea875d Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Sun, 30 Mar 2025 17:21:29 -0400 Subject: Moved models to the db folder --- bot/src/commands/quote.js | 2 +- bot/src/commands/settings.js | 2 +- bot/src/commands/stats.js | 4 ++-- bot/src/commands/suggest.js | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'bot/src/commands') diff --git a/bot/src/commands/quote.js b/bot/src/commands/quote.js index 9c409f9..3bc71d3 100644 --- a/bot/src/commands/quote.js +++ b/bot/src/commands/quote.js @@ -6,7 +6,7 @@ import { TextInputBuilder, TextInputStyle, ActionRowBuilder } from 'discord.js'; -import { pendingQuote, quote as quoteDB } from '../models/quote.js'; +import { pendingQuote, quote as quoteDB } from '../db/models/quote.js'; import { abEmbedColour } from '../storage/consts.js'; // import { setTimeout as wait } from 'node:timers/promises'; // diff --git a/bot/src/commands/settings.js b/bot/src/commands/settings.js index cb06c99..36fe4d9 100644 --- a/bot/src/commands/settings.js +++ b/bot/src/commands/settings.js @@ -1,5 +1,5 @@ import { PermissionFlagsBits, SlashCommandBuilder, MessageFlags, EmbedBuilder } from 'discord.js'; -import { guildSettings } from '../models/guild-settings.js'; +import { guildSettings } from '../db/models/guild-settings.js'; import { abEmbedColour } from '../storage/consts.js'; export default { data: new SlashCommandBuilder() diff --git a/bot/src/commands/stats.js b/bot/src/commands/stats.js index 6924874..a961245 100644 --- a/bot/src/commands/stats.js +++ b/bot/src/commands/stats.js @@ -1,7 +1,7 @@ import { EmbedBuilder, SlashCommandBuilder } from 'discord.js'; -import { commandUsages } from '../models/command-usages.js'; +import { commandUsages } from '../db/models/command-usages.js'; import { abEmbedColour } from '../storage/consts.js'; -import { quote } from '../models/quote.js'; +import { quote } from '../db/models/quote.js'; export default { data: new SlashCommandBuilder() diff --git a/bot/src/commands/suggest.js b/bot/src/commands/suggest.js index 6c3209f..7c4b75a 100644 --- a/bot/src/commands/suggest.js +++ b/bot/src/commands/suggest.js @@ -8,7 +8,7 @@ import { EmbedBuilder } from 'discord.js'; import { abEmbedColour, featureSuggestChannel } from '../storage/consts.js'; -import { guildSettings } from '../models/guild-settings.js'; +import { guildSettings } from '../db/models/guild-settings.js'; export default { data: new SlashCommandBuilder() -- cgit v1.2.3