DiSky DiSky v5.0.0-b1

Webhook

type

The Webhook entity and its Skript syntaxes.

9 / 9

Properties

9
propertyTextsince 5.0.0-a1
[the] webhook url of %webhook%
%webhook%'s webhook url

The URL of the webhook (including its token).

mentioned inWebhook clients
Helpful?
propertyIWebhookContainerUnionawait since 5.0.0-a1
[the] webhook channel of %webhook%
%webhook%'s webhook channel

The channel the webhook posts to.

Set it to a text channel to move the webhook.

change modes set
mentioned inWebhook clients
Helpful?
propertyMembersince 5.0.0-a1
[the] webhook owner of %webhook%
%webhook%'s webhook owner

The member who owns/created the webhook, or null if it is unknown.

mentioned inWebhook clients
Helpful?
propertyTextsince 5.0.0-a2
[the] webhook type of %webhook%
%webhook%'s webhook type

The kind of the webhook: INCOMING (posts through its URL) or CHANNEL_FOLLOWER (created by following an announcement channel).

mentioned inWebhook clients
Helpful?
propertyTextawait since 5.0.0-a2
[the] webhook avatar of %webhook%
%webhook%'s webhook avatar

The avatar URL of the webhook.

Set it to an image URL or a local file path.

change modes set
mentioned inWebhook clients
Helpful?
propertyTextsince 5.0.0-a2
[the] webhook source guild id of %webhook%
%webhook%'s webhook source guild id

For a channel follower webhook, the id of the guild whose announcements it relays; nothing otherwise.

Helpful?
propertyTextsince 5.0.0-a2
[the] webhook source channel id of %webhook%
%webhook%'s webhook source channel id

For a channel follower webhook, the id of the announcement channel it relays; nothing otherwise.

Helpful?
propertyText since 5.0.0-a1
[the] name of %webhook%
%webhook%'s name

The name of a Discord entity: a user's or member's account name, a guild's name, a role/channel name, a bot's define-name. Registered on Skript's native Property.NAME, so the idiomatic "name of %x%" works without colliding. For a member's server nickname or display name, use "effective name".

change modes set
mentioned inWebhook clients
Helpful?
propertyGuild since 5.0.0-a1
[the] guild of %webhook%
%webhook%'s guild

The guild a Discord entity belongs to: a member's, message's, role's, channel's, webhook's, sticker's, emoji's or scheduled event's guild. Co-owned across every such type, so "guild of %x%" works on any of them (null when the entity is not tied to a guild, e.g. a message from DMs).

Helpful?

Returned by

3

Syntaxes elsewhere in DiSky that return Webhook.

Documentation

2

Hand-written guides that cover Webhook.

An unhandled error has occurred. Reload 🗙

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.