diff --git a/@types/Client.d.ts b/@types/Client.d.ts index 8cec7cf..e9aab2e 100644 --- a/@types/Client.d.ts +++ b/@types/Client.d.ts @@ -1,5 +1,6 @@ import { LoggerClientOptions } from '@navy.gif/logger'; import { GatewayIntentBits, Partials } from 'discord.js'; +import { ComponentType } from '../src/client/interfaces/Component.ts'; export type ClientOptions = { // Set by the startup script @@ -16,8 +17,6 @@ export type ClientOptions = { } } -export type ComponentType = 'EDIT ME'; - export type ComponentOptions = { type: ComponentType, name: string, diff --git a/src/client/interfaces/Component.ts b/src/client/interfaces/Component.ts index 0a3ec1c..b19e233 100644 --- a/src/client/interfaces/Component.ts +++ b/src/client/interfaces/Component.ts @@ -1,6 +1,11 @@ -import { ComponentOptions, ComponentType } from '../../../@types/Client.js'; +import { ComponentOptions } from '../../../@types/Client.js'; import Client from '../Client.js'; +export enum ComponentType +{ + EDIT_ME +} + /** * Superclass for all components used by the client, all commands, endpoints, etc should inherit from this * @date 3/31/2024 - 1:39:51 PM