mirror of
https://github.com/ahmadk953/poixpixel-discord-bot.git
synced 2025-05-10 10:43:06 +00:00
Updated Command Types
This commit is contained in:
parent
d89d13b31b
commit
6c523bbeba
11 changed files with 37 additions and 87 deletions
|
@ -1,15 +1,7 @@
|
|||
import {
|
||||
CommandInteraction,
|
||||
PermissionsBitField,
|
||||
SlashCommandBuilder,
|
||||
SlashCommandOptionsOnlyBuilder,
|
||||
} from 'discord.js';
|
||||
import { updateMember } from '../../db/db.js';
|
||||
import { PermissionsBitField, SlashCommandBuilder } from 'discord.js';
|
||||
|
||||
interface Command {
|
||||
data: SlashCommandOptionsOnlyBuilder;
|
||||
execute: (interaction: CommandInteraction) => Promise<void>;
|
||||
}
|
||||
import { updateMember } from '../../db/db.js';
|
||||
import { Command } from '../../types/CommandTypes.js';
|
||||
|
||||
const command: Command = {
|
||||
data: new SlashCommandBuilder()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue