import { CommandInteraction, Guild, GuildMember, InteractionReplyOptions, MessageActionRow, MessageEmbed, MessageEmbedOptions, Snowflake, TextBasedChannel, User } from "discord.js"; import Bot from "./Bot"; import { UserSettings, GuildSettings } from "@eazyautodelete/db-client"; import Base from "./Base"; declare class CommandMessage extends Base { message: CommandInteraction; channel: TextBasedChannel; member: GuildMember; author: User; guild: Guild; id: Snowflake; createdTimestamp: number; locale: string; data: { guild: GuildSettings; user: UserSettings; }; constructor(bot: Bot, message: CommandInteraction); loadData(): Promise; translate(phrase: string, ...replace: string[]): string; error(message: string, ...args: string[]): Promise; send(message: MessageEmbed | MessageEmbed[] | MessageEmbedOptions | MessageEmbedOptions[], ephemeral?: boolean | undefined, components?: MessageActionRow | MessageActionRow[]): Promise; success(message: string, ...args: string[]): Promise; info(message: string, ...args: string[]): Promise; react(emoji: string): Promise; delete(): Promise; edit(payload: InteractionReplyOptions): Promise; continue(): Promise; } export default CommandMessage;