UNPKG

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.

26 lines 1.52 kB
import { ActionRowBuilder, AnyComponentBuilder, ApplicationCommandOptionChoiceData, AttachmentBuilder, AutoModerationActionExecution, BaseChannel, Channel, EmbedBuilder, Guild, GuildEmoji, GuildMember, Interaction, InteractionEditReplyOptions, InteractionReplyOptions, Invite, Message, MessageMentionOptions, MessageReaction, MessageReplyOptions, ModalBuilder, Presence, Role, StickerResolvable, User, VoiceState, WebhookClient } from "discord.js"; export type Sendable = {} | Role | Presence | Message | User | GuildMember | BaseChannel | Interaction | VoiceState | WebhookClient | GuildEmoji | Guild | MessageReaction | Invite | AutoModerationActionExecution; export declare class Container { content?: string; embeds: EmbedBuilder[]; components: ActionRowBuilder<AnyComponentBuilder>[]; reference?: string; reply: boolean; followUp: boolean; edit: boolean; ephemeral: boolean; update: boolean; files: AttachmentBuilder[]; channel?: Channel; stickers: StickerResolvable[]; fetchReply: boolean; modal?: ModalBuilder; choices: ApplicationCommandOptionChoiceData<string | number>[]; allowedMentions: MessageMentionOptions; send<T = unknown>(obj: Sendable, content?: string): Promise<T | null>; isValidMessage(options: MessageReplyOptions & InteractionReplyOptions & InteractionEditReplyOptions): boolean; embed(index: number): EmbedBuilder; reset(): void; getOptions<T>(content?: string): T; } //# sourceMappingURL=Container.d.ts.map