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

x/oasis/packages/deps.ts>ExecuteWebhook

An object oriented Discordeno framework
Latest
interface ExecuteWebhook
import { type ExecuteWebhook } from "https://deno.land/x/oasis@2.1.0/packages/deps.ts";

Properties

optional
wait: boolean

Waits for server confirmation of message send before response, and returns the created message body (defaults to false; when false a message that is not saved does not return an error)

optional
threadId: bigint

Send a message to the specified thread within a webhook's channel. The thread will automatically be unarchived.

optional
content: string

The message contents (up to 2000 characters)

optional
username: string

Override the default username of the webhook

optional
avatarUrl: string

Override the default avatar of the webhook

optional
tts: boolean

True if this is a TTS message

optional
file: FileContent | FileContent[]

The contents of the file being sent

optional
embeds: Embed[]

Embedded rich content

optional
allowedMentions: AllowedMentions

Allowed mentions for the message

optional
components: MessageComponents

the components to include with the message