blob: 9e11971ce37cbb83d3363b0f436001d8a80a10e5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
import { quote, pendingQuote } from '../db/models/quote.js';
import { guildSettings } from '../db/models/guild-settings.js';
import { commandUsages } from '../db/models/command-usages.js';
export function syncDB() {
quote.sync().then(() => {
console.log('[>] Quote database synced!');
});
pendingQuote.sync().then(() => {
console.log('[>] Pending Quote database synced!');
});
guildSettings.sync().then(() => {
console.log('[>] Guild database synced!');
});
commandUsages.sync().then(() => {
console.log('[>] Command usage database synced!');
});
}
|