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 789 B
import { RESTPostAPIChatInputApplicationCommandsJSONBody, RESTPostAPIContextMenuApplicationCommandsJSONBody } 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(): RESTPostAPIChatInputApplicationCommandsJSONBody | RESTPostAPIContextMenuApplicationCommandsJSONBody; } //# sourceMappingURL=ApplicationCommand.d.ts.map