Refactored Command Deployment, Organized Code, and Fixed Linting

This commit is contained in:
Ahmad 2024-12-21 01:17:20 -05:00
parent 327035d883
commit d8df48438d
No known key found for this signature in database
GPG key ID: 8FD8A93530D182BF
9 changed files with 77 additions and 63 deletions

View file

@ -3,7 +3,7 @@ import {
CommandInteraction,
EmbedBuilder,
} from 'discord.js';
import { getAllMembers } from '../util/db.js';
import { getAllMembers } from '../../util/db.js';
interface Command {
data: Omit<SlashCommandBuilder, 'addSubcommand' | 'addSubcommandGroup'>;

View file

@ -4,7 +4,7 @@ import {
EmbedBuilder,
SlashCommandOptionsOnlyBuilder,
} from 'discord.js';
import { getMember } from '../util/db.js';
import { getMember } from '../../util/db.js';
interface Command {
data: SlashCommandOptionsOnlyBuilder;