Expressions
User's Avatar Decoration URL
Requires DiSky v4.15.0 Returns string
Get the URL of the user's avatar decoration URL. This will return none if the user doesn't have a decoration selected.
discord command decorations [<user>]:
prefixes: ?
trigger:
set {_dec} to avatar decoration of arg-1
if {_dec} is not set:
reply with ":x: **Error:** You do not have an avatar decoration."
stop
make embed and store it in {_e}:
set title of embed to "Your avatar decoration"
set embed color of embed to orange
set image of embed to {_dec}
reply with {_e}
Discord Command Argument
Requires DiSky v4.0.0 Returns object
Works same as Skript's command argument. You can specify the argument number or the argument type (in case there's only one user or member for example) to get the selected value.
Used Alias
Requires DiSky v4.0.0 Returns string
Return the used alias in a discord command trigger section. It can only be used here, and will throw an error if not.
Used Argument
Requires DiSky v4.0.0 Returns string
Return the plain formatter of the discord command's argument You should however use (arg-1) for example which will return the argument value directly. This is intended to be for test purpose only, and therefore only return a String formatted containing every used arguments.
Used Prefix
Requires DiSky v4.0.0 Returns string
Return the used prefix in a discord command trigger section.
ExprArgumentChoices
Requires DiSky v4.0.0 Returns slashchoice
No description provided.
Sub-command Groups
Requires DiSky v4.0.0 Returns slashcommandgroup
Represent every sub-slash-command groups a slash command have. You can add sub-slash-commands to a group, then add this group into the base slash command.
Group / Command Sub-Commands
Requires DiSky v4.0.0 Returns subslashcommand
Represent every sub-slash-command a slash-command or a group have. You can add sub-slash-commands to a group or a core slash-command, then add this group into the base slash command.
New Button
Requires DiSky v4.0.0 Returns button
Create a new button with an ID and some optional options. It can be either enabled or disabled, and either link or action. If the button is a link-type, then the ID will be the URL that the user will be redirect to.
New Components Row
Requires DiSky v4.0.0 Returns row
Create a new (empty) components row. You can add either max 5 buttons or one dropdown to it. A single message can hold 5 components rows.
make new component row and store it in {_row}:
add new success button with id "btn-2" named "Green lands!" with reaction "smile" to components of the row builder
add new link button with id "https://forum.itsthesky.info/discord/" named "DiSky's Discord" to components of the row builder
add {_row} to rows of the message
New Dropdown Option
Requires DiSky v4.0.0 Returns selectoption
Create a new dropdown option with different properties. This is a predefined option holding a string value. It can only be used in string dropdowns. The value represent the returned string that this dropdown will return if this option is selected. The name / label is the actual shown name on the option. Description and emote are optional.
add new option with value "one" named "One!" with description "Click to select" with reaction "sparkles" to options of {_dp}
add new option with value "two" named "Two!?" with description "Click to select" with reaction "sparkles" to options of {_dp}
add new option with value "three" named "THREE!!!" with description "Click to select" with reaction "sparkles" to options of {_dp}
Command Localization
Requires DiSky v4.0.0 Returns object
Represents the localization of the name or the description of a slash/sub command. You can add Locale Data (check for expression) to them. Basically, the command's name & description will be according to the client's language code.
For more information, check the dedicated wiki page!
See the dedicated wiki page for examples.
PropOptions
Requires DiSky v4.0.0 Returns object
No description provided.
Selected Dropdown Values
Requires DiSky v4.0.0 Returns object
The list of the selected entities, in the current entity dropdown update event.
Selected Values
Requires DiSky v4.0.0 Returns string
The list of the selected values' IDs, in the current dropdown update event.
Emoji / Emote
Requires DiSky v4.0.0 Returns emote
Get an emoji or an emote from its name, ID or unicode.
- An emoji is discord-side only, can be used everywhere, and don't have any attached guild.
- An emote is guild-side only, have a custom long ID and are attached to a guild.
If the specified reaction doesn't exist, DiSky will simply return null and say it in console. We highly recommend the specification of the guild when retrieving an emote, to avoid conflicts with other that potentially have the same name.
Check the dedicated wiki page for more information!
Last DiSky Exception
Requires DiSky v4.0.0 Returns string
Return the last occurred DiSky or Discord exception in the current event. This expression is event-based, means you cannot get the last error that happened on another event. Once this has been called, it will remove the returned value from the errors list to avoid having two times the same error message.
Bot Guilds
Requires DiSky v4.0.0 Returns guild
No description provided.
Bot Presences
Requires DiSky v4.0.0 Returns activity
No description provided.
set the presence of the bot named "BOTNAME" to listening "with feelings"
set the presence of the bot named "BOTNAME" to watching "over the"
set the presence of the bot named "BOTNAME" to playing "with the API"
set the presence of the bot named "BOTNAME" to streaming "with the API" with the url "https://itsthesky.info"
set the presence of the bot named "BOTNAME" to competing "with the API"
Channel of Category
Requires DiSky v4.0.0 Returns textchannel
No description provided.
Voice Channel Members
Requires DiSky v4.0.0 Returns member
The list of members that are connected to this actual voice channel.
Threads of Channel / Guild
Requires DiSky v4.0.0, 4.4.4 (threads of forum channel) Returns threadchannel
Gets the threads of a specific forum/text channel or a guild.
New Category Action
Requires DiSky v4.0.0 Returns channelaction
No description provided.
New News Channel Action
Requires DiSky v4.0.0 Returns channelaction
No description provided.
New Stage Channel Action
Requires DiSky v4.0.0 Returns channelaction
No description provided.
New Text Channel Action
Requires DiSky v4.0.0 Returns channelaction
No description provided.
New Voice Channel Action
Requires DiSky v4.0.0 Returns channelaction
No description provided.
Discord Members of Guild / Channel
Requires DiSky v4.0.0 Returns member
Returns a list of members. For Message text-related channel & category, it returns members with permission to view the channel For Audio Channels it returns the currently connected members of the channel. For threads & posts, it returns the members who are in the thread. You can add or remove a member in this case.
Guild / Member Roles
Requires DiSky v4.0.0 Returns role
Represent the roles that a guild or a member currently have. Can be changed, SET and ADD ChangeMode can be used when passing a member. To modify guild's roles, check delete and create role effects.
Last Embed
Requires DiSky v1.0 Returns embedbuilder
This expression returns the last generated embed using the embed builder.
Guild Boosters
Requires DiSky v4.0.0 Returns member
Represent the current members booster of the guild.
All Guild Guild Channels
Requires DiSky v4.0.0 Returns guildchannel
Get every guild channel in the guild, including text, voice, stage, news, and thread channels.
Guild News Channels
Requires DiSky v4.0.0 Returns newschannel
Gets all news channels of a guild.
All Guild Scheduled Events
Requires DiSky v4.0.0 Returns scheduledevent
Returns all scheduled events of a guild.
All Guild Stage Channels
Requires DiSky v4.0.0 Returns stagechannel
Returns all stage channels of a guild.
All Guild Text Channels
Requires DiSky v4.0.0 Returns textchannel
Returns all text channels of a guild.
Guild Voice Channels
Requires DiSky v4.0.0 Returns oicechannel
Gets all voice channels of a guild.
Message Attachment
Requires DiSky v4.0.0 Returns attachment
Get every attachment as custom object of a message
Message Embeds
Requires DiSky v4.0.0 Returns embedbuilder
Get every embeds of a specific messages. Keep in mind only webhook are allowed to send more than one embed!
Message Text Channels
Requires DiSky v4.0.0 Returns textchannel
Get every mentioned text channels in a message.
Message Emotes
Requires DiSky v4.0.0 Returns emote
Get every mentioned emotes in a message. This will only return custom emote, and will therefore not include discord emotes.
Message Mentioned Members
Requires DiSky v4.0.0 Returns member
Get every mentioned members in a message. If the message doesn't come from a guild it will return an empty array!
Message Mentioned Roles
Requires DiSky v4.0.0 Returns role
Get every mentioned Roles in a message. If the message doesn't come from a guild it will return an empty array!
Message Mentioned Users
Requires DiSky v4.0.0 Returns user
Get every mentioned users in a message.
Message Voice Channels
Requires DiSky v4.0.0 Returns oicechannel
Get every mentioned voice channels in a message.
Message Reactions
Requires DiSky v4.0.0 Returns emote
Get every reactions of a message. Because of Discord's limitation, we cannot get which user reacted with which reaction, you'll have to count them yourself.
New Role Action
Requires DiSky v4.0.0 Returns roleaction
No description provided.
Get Tag
Requires DiSky v4.4.4 Returns forumtag
Get a tag from a forum channel using its name.
New Forum Tag
Requires DiSky v4.4.4 Returns object
Create a new forum tag with a specific name & optional emoji. You can also specify if the tag is 'moderate' or not.
Post / Forum Tags
Requires DiSky v4.0.0 Returns object
Get all tags of a forum channel or a thread channel. You can also add or remove tags from a thread channel using this expression. You must add the tag to the forum itself before adding it to the post.
Parent Channel of Thread
Requires DiSky v4.13.0 Returns guildchannel
Get the parent channel of a thread channel. It can return a text, news or forum channel.
Guild Bot's Role
Requires DiSky v4.16.0 Returns role
Get the bot's specific role for a given guild. Each bot has a specific role in each guild it is in, to define its permissions and restrictions.
Guild Boost Tier
Requires DiSky v4.16.0 Returns string Can't be set to anything
Get the boost tier of a guild, according to the number of boosts it has. It can return the following values:
Returns | Description | Max Bitrate | Max Emojis |
---|---|---|---|
None |
No boost (or only one) | 96kbps | 50 |
Tier 1 |
2 boosts | 128kbps | 100 |
Tier 2 |
7 boosts | 256kbps | 150 |
Tier 3 |
14 boosts | 384kbps | 250 |
User Badges
Requires DiSky v4.0.0 Returns string Can't be set to anything
Represent every badges' name a user have. This does not and cannot contain any intro-related badges (nitro membership or nitro boosting), it needs OAuth2 to be enabled.
User Mutual Guilds
Requires DiSky v4.0.0 Returns guild Can't be set to anything
Represent every guild that the bot and the user have in common.
Last Row Builder
Requires DiSky v4.0.0 Returns row
Represents the last row builder created within a section.
Row Builder Components
Requires DiSky v4.0.0 Returns object
Components of a row builder See also: 'Create (rich) Message'
Last Message Builder
Requires DiSky v4.0.0 Returns messagecreatebuilder
Represents the last message builder created within a section.
Message Builder Attachments
Requires DiSky v4.0.0 Returns object
Attachments of a message builder Supports SkImage's images if the addon is installed. See also: 'Create (rich) Message'
Message Builder Embeds
Requires DiSky v4.0.0 Returns embedbuilder
Embeds of a message builder See also: 'Create (rich) Message'
Message Builder Component Rows
Requires DiSky v4.0.0 Returns object
Component rows of a message builder See also: 'Creator Components Row'
New Message Command
Requires DiSky v4.0.0 Returns object
Create a new message command, to be updated on discord later.
This will create a context command of MESSAGE type.
Once created, you can execute it by right-clicking on a message, then going in 'Applications' ->
New Option Choice
Requires DiSky v4.0.0 Returns slashchoice
Create a new slash command option choice with an unique name and a string or number value. Choices are only available for STRING, NUMBER and INTEGER slash command option type. Of course, the provided value type must be compatible with the option type (you cannot add string choice to a NUMBER option).
New Slash Command
Requires DiSky v4.0.0 Returns object
Create a new Slash Command builder, where you'll be able to add options, subcommands, etc... For a more detailed guide, take a look at this tutorial.
Check the tutorial for a complete example: Slash Commands
[a] [new] [nsfw] slash[( |-)]command [with] [(the name|named)] %string% [and] with [the] desc[ription] %string%
[a] [new] sub [slash][( |-)]command [with] [(the name|named)] %string% [and] with [the] desc[ription] %string%
[a] [new] [slash][( |-)][command] group [with] [(the name|named)] %string% [and] with [the] desc[ription] %string%
ExprNewSlashOption
Requires DiSky v4.0.0 Returns slashoption
No description provided.
New User Command
Requires DiSky v4.0.0 Returns object
Create a new user command, to be updated on discord later.
This will create a context command of USER type.
Once created, you can execute it by right-clicking on a user, then going in 'Applications' ->
New Dropdown
Requires DiSky v4.6.0 Returns dropdown
Create a new dropdown menu with different properties. There's two type of dropdown available: - String, only text values are accepted & pre-defined - Entity, only the specified entity type (role, channel and/or user) are accepted Therefore, you cannot add user, channel or role to a string dropdown and vice-versa. For entity dropdown, you can accept each type independently, or mix roles & users. YOU CANNOT MIX CHANNELS WITH ROLES OR USERS! === "Examples"
```applescript
new dropdown with id "string" # Default string dropdown
new entity dropdown with id "entities" targeting "user" and "role" # Only user and role are accepted
new entity dropdown with id "channels" targeting "channel" # Only channel are accepted
```
Modal Text Input
Requires DiSky v4.0.0 Returns textinput
No description provided.
New Modal
Requires DiSky v4.0.0 Returns modal
No description provided.
Modal Component Value / Values
Requires DiSky v4.0.0 Returns object
Get the current value(s) of a sent component, currently only working in modals with text input & select menus. You have to precise what type of component you are trying to get, either 'textinput' or 'dropdown'.
New Locale Data
Requires DiSky v4.0.0 Returns object
Returns the a new locale data for the given locale and the given value. You have to provide the locale using its code (list can be found here: https://discord.com/developers/docs/reference#locales) and the value to set. Documentation: https://docs.disky.me/advanced-stuff/slash-commands#using-localizations-v4.3.0+
Target Message
Requires DiSky v4.0.0 Returns message
Represent the target message in a message command event. It basically represent the message that was clicked on.
Slash Command Argument
Requires DiSky v4.0.0 Returns object
Represents a slash command argument. The name is the ID used when defining the slash command. Specify the type, so that Skript can parse it correctly. (if it's a number, operation wil be allowed for example) The type should be the same used when defining the argument in the command.
Slash Command Argument
Requires DiSky v4.0.0 Returns object
Represents a slash command argument. The name is the ID used when defining the slash command. Specify the type, so that Skript can parse it correctly. (if it's a number, operation wil be allowed for example) The type should be the same used when defining the argument in the command.
Current Argument
Requires DiSky v4.0.0 Returns string
The current argument being completed.
Target User
Requires DiSky v4.0.0 Returns user
Represent the target user in a user command event. It basically represent the user that was clicked on.
Get Audio Channel
Requires DiSky v4.0.0 Returns audiochannel
This is an utility expression. It will returns an Audio Channel out of the provided ID. It will returns either the voice or stage channel corresponding to the provided ID. This expression cannot be changed.
Get Bot / Bot Named X
Requires DiSky v4.0.0 Returns bot
Get a cached bot from DiSky using its unique name. If the desired bot does not exist or is not loaded yet, this expression will return none. This expression cannot be changed.
Get Category
Requires DiSky v4.0.0 Returns category
Get a category from a guild using its unique ID. Categories are global on discord, means different categories cannot have the same ID. This expression cannot be changed.
Get Channel
Requires DiSky v4.4.2 Returns channel
A generic expression to get any channel from its ID. This can return a text, private, news, voice, category, stage, thread or post channel.
Get Forum Channel
Requires DiSky v4.0.0 Returns forumchannel
Get a forum channel from a guild using its unique ID. Channels are global on discord, means different forum channels cannot have the same ID. This expression cannot be changed.
Get Guild
Requires DiSky v4.0.0 Returns guild
Get a guild from a guild using its unique ID. This expression cannot be changed.
Get Channel
Requires DiSky v4.0.0 Returns guildchannel
Get a channel from a guild using its unique ID. Channels are global on discord, means different channels cannot have the same ID. This expression cannot be changed.
Get Member
Requires DiSky v4.0.0 Returns member
Get a cached member from its unique ID This expression could return null, according to if the actual member was cached or not. To be sure it will return the corresponding member, use the retrieve member effect. This expression cannot be changed
Get Message Channel
Requires DiSky v4.0.0 Returns object
This is an utility expression. It will returns a Message Channel (text, news or thread) out of the provided ID. This expression cannot be changed.
Get News Channel
Requires DiSky v4.0.0 Returns newschannel
Get a news channel from a guild using its unique ID. Channels are global on discord, means different channels cannot have the same ID. This expression cannot be changed.
Attachment Duration
Requires DiSky v4.12.0 Returns timespan
Get the duration of the voice message attachment. You should check before if the attachment is an audio file using the attachment is audio
expression.
Note
This expression will only work with voice message audio, and not all audio files!
Member Flags
Requires DiSky v4.12.0 Returns memberflags
Get or change member flags of a specific member. Some of these flags cannot be added/removed manually!
Get Role
Requires DiSky v4.0.0 Returns role
Get a role from a guild using its unique ID. Role are global on discord, means two role from two different guild could never have the same ID. This expression cannot be changed.
Get Scheduled Event
Requires DiSky v4.0.0 Returns scheduledevent
Get a scheduled event from a guild using its unique ID. Scheduled events are global on discord, means different scheduled events cannot have the same ID. This expression cannot be changed.
Get Stage Channel
Requires DiSky v4.0.0 Returns stagechannel
Get a stage channel from a guild using its unique ID. Channels are global on discord, means different channels cannot have the same ID. This expression cannot be changed.
Get Sticker
Requires DiSky v4.0.0 Returns sticker
Get a cached sticker from its per-guild name This expression is here to get a sticker from its name. If you success to get a sticker's ID, use the retrieve sticker effect instead! This expression cannot be changed
Get Text Channel
Requires DiSky v4.0.0 Returns textchannel
Get a text channel from a guild using its unique ID. Channels are global on discord, means different text channels cannot have the same ID. This expression cannot be changed.
Get Thread Channel
Requires DiSky v4.0.0 Returns threadchannel
Get a thread channel from a guild using its unique ID. Threads are global on discord, means different threads cannot have the same ID. This expression cannot be changed.
Get User
Requires DiSky v4.0.0 Returns textchannel
No description provided.
User in Guild
Requires DiSky v4.0.0 Returns member
Get the member related to the specified user in a specific guild. Users are common to whole Discord, two user cannot have the same instance. Members are common to guilds, but also holding an user as reference. User can have multiple instance according to which guild they are in, therefore they are considered as member.
Get Voice Channel
Requires DiSky v4.0.0 Returns oicechannel
Get a voice channel from a guild using its unique ID. Channels are global on discord, means different channels cannot have the same ID. This expression cannot be changed.
Discord Permissions Of
Requires DiSky v4.0.0 Returns permission
Get or change the permissions of a specific member or role in an optional channel.
User Locale
Requires DiSky v4.0.0 Returns string
Get the language code defined as user-side client of Discord. Basically, return the language user's client is loaded in. This expression only works in interactions event, and cannot be used outside of them.
Inline Rich Message Builder
Requires DiSky v4.4.1, 4.4.3 (component-only) Returns messagecreatebuilder
Create a new rich message in one line only. WARNING: This could slow a lot the Skript's parsing time if used too many times! We still recommend to use the create message section instead! You can also use the second pattern to send component-only messages.
Logged User
Requires DiSky v4.11.0 Returns user
The user who triggered the log entry.
Logged Guild
Requires DiSky v4.11.0 Returns guild
The guild where the log entry has been triggered.
Logged ID
Requires DiSky v4.11.0 Returns string
The ID of the log entry.
Logged Action
Requires DiSky v4.11.0 Returns object
The action type of the log entry.
Dropdown/Modal Text Input Max Range
Requires DiSky v4.0.0 Returns number
No description provided.
Dropdown/Modal Text Input Min Range
Requires DiSky v4.0.0 Returns number
No description provided.
Placeholder of Dropdown/Modal Text Input
Requires DiSky v4.0.0 Returns string
No description provided.
Modal Require State Of Modal Text Input
Requires DiSky v4.0.0 Returns boolean
No description provided.
Modal Text Input Default Value
Requires DiSky v4.0.0 Returns string
No description provided.
Color from Hex
Requires DiSky v4.0.0 Returns color
Get a color from a hexadecimal string. Do not include the # in the string.
ActivityEmote
Requires DiSky v4.0.0 Returns emote
No description provided.
ActivityText
Requires DiSky v4.0.0 Returns string
No description provided.
ActivityType
Requires DiSky v4.0.0 Returns string
No description provided.
ActivityURL
Requires DiSky v4.0.0 Returns string
No description provided.
Attachments File Extension
Requires DiSky v1.7 Returns string
Get the file extension of an attachment.
Attachments File Name
Requires DiSky v1.7 Returns string
Get the file name of an attachment.
Attachments URL
Requires DiSky v1.7 Returns string
Get the url of an attachment.
User / Bot / Guild Avatar
Requires DiSky v4.0.0 Returns string
Return the avatar URL of any user, guild or bot. This can be changed for guilds and bots only!
Ban Reason
Requires DiSky v4.0.0 Returns string
The optional reason which say why the user of this ban was banned.
Ban User
Requires DiSky v4.0.0 Returns user
The user linked to this ban.
Bot Name
Deprecated: removed since DiSky v4.18.0
Use discord name
to have the same behavior.
Requires DiSky v4.0.0 Returns string
No description provided.
Bot Ping
Requires DiSky v4.0.0 Returns number
No description provided.
Bot Presence
Requires DiSky v4.0.0 Returns activity
No description provided.
EnumBotStatus
Requires DiSky v4.0.0 Returns onlinestatus
No description provided.
Bot Token
Requires DiSky v4.0.0 Returns string
No description provided.
Bot Uptime
Requires DiSky v4.0.0 Returns timespan
No description provided.
Bot Self Member
Requires DiSky v4.9.0 Returns member
Get the self member instance of a bot, in a specific guild.
Channel Bitrate
Requires DiSky v4.0.0 Returns number
No description provided.
Channel Jump URL
Requires DiSky v4.0.0 Returns string
Returns the jump-to URL for this channel. Clicking this URL in the Discord client will cause the client to jump to the specified channel.
Channel Max User
Requires DiSky v4.0.0 Returns number
No description provided.
Channel Name
Requires DiSky v4.0.0 Returns string
No description provided.
Channel NSFW
Requires DiSky v4.0.0 Returns boolean
No description provided.
Channel Parent
Requires DiSky v4.0.0 Returns category
No description provided.
Voice Channel Status
Requires DiSky v4.13.0 Returns string
Represent the temporary status of a voice channel. Can be get, but also set with the following conditions:
* If the bot is connected to the channel, with the voice set status
permission
* If the bot is not connected to the channel, with the manage server
permission
* The status must be up to 500 characters long
Warning
This status is temporary, and will be reset when the bot is disconnected from the channel.
Channel Region
Requires DiSky v4.0.0 Returns object
No description provided.
Channel Slowmode
Requires DiSky v4.0.0 Returns number
No description provided.
Channel Topic
Requires DiSky v4.0.0 Returns string
No description provided.
Embed Color
Requires DiSky v4.0.0 Returns color
Get or change the color of an embed builder. The color input must come from Skript, and will be converted by DiSky.
Creation Date
Requires DiSky v4.0.0 Returns date
Get the creation date (as Skript date) of any ISnowFlake entity, including, but not limited to: - Member - User - Role - Guild - Channel - etc... === "Examples"
```applescript
creation date of event-user
created date of event-member
```
Discord ID
Requires DiSky v4.0.0 Returns string
Get the unique long value (ID) that represent a discord entity.
Name of Discord Entity
Requires DiSky v4.0.0 Returns string Accepts string
This represents the current name of any discord entity that can hold one. You can change the name of every entity except member and user by defining a new text. Check for nickname of member if you want to check / change custom member's name.
This property accepts string, and will change the name of a bot, channel or role.
Author of Embed
Requires DiSky v4.0.0 Returns string
No description provided.
Author Icon of Embed
Requires DiSky v4.0.0 Returns string
No description provided.
Embed Author URL
Requires DiSky v4.0.0 Returns string
No description provided.
Description of Embed
Requires DiSky v4.0.0 Returns string
No description provided.
Footer of Embed
Requires DiSky v4.0.0 Returns string
No description provided.
Footer Icon of Embed
Requires DiSky v4.0.0 Returns string
No description provided.
Image of Embed
Requires DiSky v4.0.0 Returns string
No description provided.
Thumbnail of Embed
Requires DiSky v4.0.0 Returns string
No description provided.
TimeStamp of Embed
Requires DiSky v4.0.0 Returns date
No description provided.
Title of Embed
Requires DiSky v4.0.0 Returns string
No description provided.
Embed URL
Requires DiSky v4.12.0 Returns string
Get or change the URL of this embed. The Discord client mostly only uses this property in combination with the title for a clickable Hyperlink. If multiple embeds in a message use the same URL, the Discord client will merge them into a single embed and aggregate images into a gallery view.
Warning
This is different from the Embed Title URL property: this one can be used even if there's no title yet, while the other one can only be used if there's a title!
Title URL of Embed
Requires DiSky v4.0.0 Returns string
No description provided.
Emote Name
Requires DiSky v4.0.0 Returns string
Get the name of this emote. This, instead of 'discord name of %emote%' will return the name of an emote, and not an emoji. You can change this property to change the emote's name itself.
Emote Image URL
Requires DiSky v4.0.0 Returns string
Get the URL of this emote. Only emote have image URL, emoji are from Discord and will therefore return none here.
- See the emojis page for more information about emojis.
Channel of Scheduled Event
Requires DiSky v4.8.0 Returns audiochannel
Get the channel of a scheduled event. Can be null if the event is external. Will returns either a stage or voice channel.
Cover of Scheduled Event
Requires DiSky v4.8.0 Returns string
Get the cover of a scheduled event. Links to a potentially heavily compressed image. You can append a size parameter to the URL if needed. Example: ?size=4096 This can returns null if no cover is set for the event.
Creator of Scheduled Event
Requires DiSky v4.8.0 Returns user
Get the creator of a scheduled event. May return none if user has deleted their account, the User object is not cached or the event was created before Discord started keeping track of event creators on October 21st, 2021
End date of Scheduled Event
Requires DiSky v4.8.0 Returns date
Get the end date of a scheduled event. Can be null if the event is made from a channel and not an external place.
Location of Scheduled Event
Requires DiSky v4.8.0 Returns string
Get the location of a scheduled event. Returns the specified place if the event is external, or the audio channel's ID.
Start date of Scheduled Event
Requires DiSky v4.8.0 Returns date
Get the start date of a scheduled event. Cannot be null.
Status of Scheduled Event
Requires DiSky v4.8.0 Returns string
Get the status of a scheduled event between: - Scheduled - Active - Completed - Cancelled === "Examples"
```applescript
No examples provided.
```
Type of Scheduled Event
Requires DiSky v4.8.0 Returns string
Get the type of a scheduled event. It can either be 'voice/stage instance' or 'external' according to the type of the event.
Default Forum Emoji
Requires DiSky v4.0.0 Returns emote
Represent the default emoji of a forum channel. It's the mote that is added automatically once a new post is created. Can return none and can be changed.
Tag Required
Requires DiSky v4.0.0 Returns boolean
Get a true/false value of the tag required state of a forum channel. This property can be changed, and we recommend the tag required condition for checks.
Guild Of
Requires DiSky v4.0.0 Returns guild
Return the guild of a specific entity. This can return null if the entity is not guild-based, like private message channel or message.
AFK Channel of Guild
Requires DiSky v4.0.0 Returns voicechannel
No description provided.
AFK Timeout of Guild
Requires DiSky v4.0.0 Returns number
No description provided.
Banner of Guild
Requires DiSky v4.0.0 Returns string
No description provided.
Guild Boost Count
Requires DiSky v4.0.0 Returns number
Represent how many people are boosting the guild currently.
Guild Booster Role
Requires DiSky v4.0.0 Returns role
Represent the booster role of this guild. Any member that got this role is actually a booster of the guild.
Everyone Role
Requires DiSky v4.0.0 Returns role
Represent the @everyone role of a guild. Even if it's not a real role, it share multiple properties such as permissions.
Guild Verification Level
Requires DiSky v4.0.0 Returns string Accepts string
Represent the verification level of the guild. It can either be: - None - Low - Medium - High - Very High
Invite Code
Requires DiSky v4.0.0 Returns string
Represent the unique invite code used in the Discord URL.
Invite Inviter
Requires DiSky v4.0.0 Returns user
Represent the user who created the invite.
Invite Max Age
Requires DiSky v4.0.0 Returns number
Represent the max age time this invite can be used.
Invite Max Uses
Requires DiSky v4.0.0 Returns number
Represent the max amount of times this invite can be used.
Invite URL
Requires DiSky v4.0.0 Returns string
Represent the plain Discord URL that people have to click on in order to join the invite's guild.
Invite Uses
Requires DiSky v4.0.0 Returns number
Represent the amount of times this invite has been used.
Member Effective Name
Requires DiSky v4.0.0 Returns string
Simple way to get the effective name of a member in a guild: If the nickname is not set, it will return the discord name of the member.
Member Join Date
Requires DiSky v4.0.0 Returns date
Represent the skript's date of the member's join date. It cannot be changed. This is a specific element of the bot, so it can be used in the bots event.
Member Nickname
Requires DiSky v4.0.0 Returns string
Represent the member nickname. Can be none if the member doesn't have any nickname currently. Use effective name expression to get member's name of its nickname is not set.
Voice Channel of Member
Requires DiSky v4.0.0 Returns audiochannel
No description provided.
Mention Tag
Requires DiSky v4.0.0 Returns string
Get the mention name of the discord entity. It will return the similar format that when you are doing @ (roles, users) or # (channels) followed by names.
Message User Author
Requires DiSky v4.0.0 Returns user
Get the user instance of the message's author. Can be null in case of the message was sent by a webhook.
Message/Webhook Channel
Requires DiSky v4.0.0 Returns textchannel
Get the text channel were the message was sent. Can be null if it's in PM or not in guild!
Starting DiSky v4.15.0, this can also be used to get the channel of a webhook.
Message Content
Requires DiSky v4.0.0 Returns string
Get the raw (non formatted) content of a sent message.
Message Guild
Requires DiSky v4.0.0 Returns guild
Get the guild where the message was sent. Can be null if it's in PM or not in guild!
Message/Event Jump URL
Requires DiSky v4.0.0 Returns string
Get the jump URL of a specific message/scheduled event
Message Member Author
Requires DiSky v4.0.0 Returns member
Get the member instance of the message's author. Can be null if it's in PM or not in guild!
Reference Message
Requires DiSky v4.0.0 Returns message
No description provided.
Profile Banner
Requires DiSky v4.0.0 Returns string Accepts string
Get the profile banner URL. If the user doesn't have a custom banner, this will return none. Use the 'profile color' expression to get the color instead of the banner URL in that case!
This property accepts string, and will change the banner of a bot only.
Profile Color
Requires DiSky v4.0.0 Returns color
Get the profile color accent. If the user have a custom banner, this will return none. Use the 'profile banner' expression to get the avatar URL instead of the color accent in that case!
Role Color
Requires DiSky v4.0.0 Returns color
No description provided.
Role Name
Requires DiSky v4.0.0 Returns string
No description provided.
Channel/Role Position
Requires DiSky v4.0.0 Returns number Accepts number
Get or change the relative position of a channel (within its category) or role (among all roles). This is also supported by role actions and channel actions!
Position Conflicts
If you try to set a position that is already taken, they will be sorted by their creation date!
add
(will increase the position)remove
(will decrease the position)set
(will set the position to the given number)
Tag Emoji
Requires DiSky v4.4.4 Returns emote
Gets the emoji of a forum tag. Can be null if the tag has no emoji.
User Discriminator (Deprecated)
Requires DiSky v4.0.0 Returns string
Represent the four digit number after the # of a user's name.
These, mixed with the user name itself, are unique.
This DOES NOT include the #
char, so you have to add it yourself.
Message Builder Content
Requires DiSky v4.0.0 Returns string
Text content of a message builder See also: 'Create (rich) Message'
Track Author
Requires DiSky v4.0.0 Returns string
Return the author of a specific track
Track Duration
Requires DiSky v4.0.0 Returns timespan
Return the duration of a specific track
Track Identifier
Requires DiSky v4.0.0 Returns string
Return the unique identifier of a track
Track Position
Requires DiSky v4.0.0 Returns timespan
Return the position of a specific track This property can be changed to move the current position of the track. It will only accept timespan (e.g. '1 second', '25 minutes', etc...)!
Track Thumbnail
Requires DiSky v4.0.0 Returns string
Return the thumbnail URL of a specific track
Title of Track
Requires DiSky v4.0.0 Returns string
No description provided.
Track URL
Requires DiSky v4.0.0 Returns string
Return the YouTube URL of a track
ExprEventValues
Requires DiSky v4.0.0 Returns object
No description provided.