mirror of
https://github.com/ahmadk953/poixpixel-discord-bot.git
synced 2025-05-14 12:43:05 +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
|
@ -4,9 +4,9 @@ import {
|
|||
PermissionsBitField,
|
||||
} from 'discord.js';
|
||||
|
||||
import { SubcommandCommand } from '../../types/CommandTypes.js';
|
||||
import { getCountingData, setCount } from '../../util/countingManager.js';
|
||||
import { loadConfig } from '../../util/configLoader.js';
|
||||
import { SubcommandCommand } from '@/types/CommandTypes.js';
|
||||
import { getCountingData, setCount } from '@/util/countingManager.js';
|
||||
import { loadConfig } from '@/util/configLoader.js';
|
||||
|
||||
const command: SubcommandCommand = {
|
||||
data: new SlashCommandBuilder()
|
||||
|
|
|
@ -13,10 +13,10 @@ import {
|
|||
approveFact,
|
||||
deleteFact,
|
||||
getLastInsertedFactId,
|
||||
} from '../../db/db.js';
|
||||
import { postFactOfTheDay } from '../../util/factManager.js';
|
||||
import { loadConfig } from '../../util/configLoader.js';
|
||||
import { SubcommandCommand } from '../../types/CommandTypes.js';
|
||||
} from '@/db/db.js';
|
||||
import { postFactOfTheDay } from '@/util/factManager.js';
|
||||
import { loadConfig } from '@/util/configLoader.js';
|
||||
import { SubcommandCommand } from '@/types/CommandTypes.js';
|
||||
|
||||
const command: SubcommandCommand = {
|
||||
data: new SlashCommandBuilder()
|
||||
|
|
|
@ -9,8 +9,8 @@ import {
|
|||
JSONEncodable,
|
||||
} from 'discord.js';
|
||||
|
||||
import { OptionsCommand } from '../../types/CommandTypes.js';
|
||||
import { getLevelLeaderboard } from '../../db/db.js';
|
||||
import { OptionsCommand } from '@/types/CommandTypes.js';
|
||||
import { getLevelLeaderboard } from '@/db/db.js';
|
||||
|
||||
const command: OptionsCommand = {
|
||||
data: new SlashCommandBuilder()
|
||||
|
|
|
@ -1,11 +1,8 @@
|
|||
import { GuildMember, SlashCommandBuilder } from 'discord.js';
|
||||
import { SlashCommandBuilder } from 'discord.js';
|
||||
|
||||
import { OptionsCommand } from '../../types/CommandTypes.js';
|
||||
import {
|
||||
generateRankCard,
|
||||
getXpToNextLevel,
|
||||
} from '../../util/levelingSystem.js';
|
||||
import { getUserLevel } from '../../db/db.js';
|
||||
import { OptionsCommand } from '@/types/CommandTypes.js';
|
||||
import { generateRankCard, getXpToNextLevel } from '@/util/levelingSystem.js';
|
||||
import { getUserLevel } from '@/db/db.js';
|
||||
|
||||
const command: OptionsCommand = {
|
||||
data: new SlashCommandBuilder()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue