UNPKG

@tryforge/forgescript

Version:

ForgeScript is a comprehensive package that empowers you to effortlessly interact with Discord's API. It ensures scripting remains easy to learn and consistently effective.

13 lines 668 B
import { RESTPostAPIApplicationCommandsJSONBody } from "discord.js"; import { IExtendedCompilationResult } from "../../core"; import { IApplicationCommandData, RegistrationType } from "../../managers/ApplicationCommandManager"; export declare class ApplicationCommand { readonly options: IApplicationCommandData; compiled: IExtendedCompilationResult; constructor(options: IApplicationCommandData); get name(): string; get registrationType(): RegistrationType; mustRegisterAs(type: Exclude<RegistrationType, RegistrationType.All>): boolean; toJSON(): RESTPostAPIApplicationCommandsJSONBody; } //# sourceMappingURL=ApplicationCommand.d.ts.map