Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/natico/examples/deps.ts>CreateMessage

A powerful and customizable framework for Discordeno
Latest
interface CreateMessage
Re-export
import { type CreateMessage } from "https://deno.land/x/natico@4.0.0-pre.4/examples/deps.ts";

Properties

optional
content: string

The message contents (up to 2000 characters)

optional
tts: boolean

true if this is a TTS message

optional
embeds: Embed[]

Embedded rich content (up to 6000 characters)

optional
allowedMentions: Omit<AllowedMentions, "users" | "roles"> & { roles?: bigint[]; users?: bigint[]; }

Allowed mentions for the message

optional
messageReference: { messageId?: bigint; channelId?: bigint; guildId?: bigint; failIfNotExists: boolean; }

Include to make your message a reply

optional
file: FileContent | FileContent[]

The contents of the file being sent

optional
components: MessageComponents

The components you would like to have sent in this message