mirror of
https://github.com/ahmadk953/poixpixel-discord-bot.git
synced 2025-06-07 15:39:30 +00:00
chore: update and clean up imports
This commit is contained in:
parent
d9d5f087e7
commit
9aabe2885b
30 changed files with 78 additions and 84 deletions
|
@ -1,7 +1,8 @@
|
|||
import { Config } from '../types/ConfigTypes.js';
|
||||
import fs from 'node:fs';
|
||||
import path from 'node:path';
|
||||
|
||||
import { Config } from '@/types/ConfigTypes.js';
|
||||
|
||||
/**
|
||||
* Loads the config file from the root directory
|
||||
* @returns - The loaded config object
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { Message } from 'discord.js';
|
||||
|
||||
import { getJson, setJson } from '../db/redis.js';
|
||||
import { getJson, setJson } from '@/db/redis.js';
|
||||
|
||||
interface CountingData {
|
||||
currentCount: number;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { EmbedBuilder, Client } from 'discord.js';
|
||||
|
||||
import { getRandomUnusedFact, markFactAsUsed } from '../db/db.js';
|
||||
import { getRandomUnusedFact, markFactAsUsed } from '@/db/db.js';
|
||||
import { loadConfig } from './configLoader.js';
|
||||
|
||||
let isFactScheduled = false;
|
||||
|
|
|
@ -8,8 +8,8 @@ import {
|
|||
getUserLevel,
|
||||
getUserRank,
|
||||
handleDbError,
|
||||
} from '../db/db.js';
|
||||
import * as schema from '../db/schema.js';
|
||||
} from '@/db/db.js';
|
||||
import * as schema from '@/db/schema.js';
|
||||
import { loadConfig } from './configLoader.js';
|
||||
import { roundRect } from './helpers.js';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue