sheweny
Version:
The powerful framework for create discord bots
17 lines (16 loc) • 681 B
TypeScript
import { DiscordResolve } from '@sheweny/resolve';
import type { Command } from '../structures/index';
import type { ShewenyClient } from './Client.js';
/**
* Utility methods and properties for the client.
*/
export declare class ClientUtil extends DiscordResolve {
client: ShewenyClient;
constructor(client: ShewenyClient);
getButtons(): import("../structures/Button").Button[];
getCommands(): Command[];
getEvents(): import("../structures/Event").Event[];
getInhibitors(): import("../structures/Inhibitor").Inhibitor[];
getSelectMenus(): import("../structures/SelectMenu").SelectMenu[];
resolveCommand(command: string): Command[] | undefined;
}