Merge branch 'main' of https://git.corgi.wtf/Navy.gif/sharding-framework
This commit is contained in:
commit
85fa8a2c01
3
@types/Client.d.ts
vendored
3
@types/Client.d.ts
vendored
@ -1,5 +1,6 @@
|
|||||||
import { LoggerClientOptions } from '@navy.gif/logger';
|
import { LoggerClientOptions } from '@navy.gif/logger';
|
||||||
import { GatewayIntentBits, Partials } from 'discord.js';
|
import { GatewayIntentBits, Partials } from 'discord.js';
|
||||||
|
import { ComponentType } from '../src/client/interfaces/Component.ts';
|
||||||
|
|
||||||
export type ClientOptions = {
|
export type ClientOptions = {
|
||||||
// Set by the startup script
|
// Set by the startup script
|
||||||
@ -16,8 +17,6 @@ export type ClientOptions = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export type ComponentType = 'EDIT ME';
|
|
||||||
|
|
||||||
export type ComponentOptions = {
|
export type ComponentOptions = {
|
||||||
type: ComponentType,
|
type: ComponentType,
|
||||||
name: string,
|
name: string,
|
||||||
|
@ -1,6 +1,11 @@
|
|||||||
import { ComponentOptions, ComponentType } from '../../../@types/Client.js';
|
import { ComponentOptions } from '../../../@types/Client.js';
|
||||||
import Client from '../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
|
* Superclass for all components used by the client, all commands, endpoints, etc should inherit from this
|
||||||
* @date 3/31/2024 - 1:39:51 PM
|
* @date 3/31/2024 - 1:39:51 PM
|
||||||
|
Loading…
Reference in New Issue
Block a user