LogoRobo.js
Packages@robojs/ai

ChatReply

Interface: ChatReply

Represents a reply generated by the chat engine, including optional Discord payloads.

Properties

PropertyTypeDescription
components?readonly ( | APIMessageTopLevelComponent | JSONEncodable<APIMessageTopLevelComponent> | TopLevelComponentData | ActionRowData<MessageActionRowComponentData | MessageActionRowComponentBuilder>)[]Discord UI components (buttons, selects, etc.).
embeds?readonly (APIEmbed | JSONEncodable<APIEmbed>)[]Embed payloads returned with the reply.
files?readonly ( | BufferResolvable | Stream | JSONEncodable<APIAttachment> | Attachment | AttachmentBuilder | AttachmentPayload)[]File attachments included with the reply.
flags?BitFieldResolvable< | "SuppressEmbeds" | "Ephemeral" | "SuppressNotifications" | "IsComponentsV2", SuppressEmbeds | Ephemeral | SuppressNotifications | IsComponentsV2>Message flags to apply to the reply.
text?stringPlain text content for the reply.

On this page