CONDITIONS

Bot paused

Copy Link
Tell if a bot is paused or not.
                %bot/string% is paused [in %guild%]
%bot/string% (is|are)(n't| not) paused [in %guild%]
                if event-bot isn't paused:
            
CONDITIONS

Bot is playing

Copy Link
Check if a bot is playing something in a guild
                %bot/string% is playing [in %guild%]
%bot/string% (is|are)(n't| not) playing [in %guild%]
                if event-bot is playing
            
CONDITIONS

Member is deafened

Copy Link
If the guild modifier is included, this passes if the member is deafened via a guild admin.If it isn't included, it passes if the user has either deafened themselves, or was deafened by an admin
                %members% (is|are) [<guild>] deafened
%members% (is|are)(n't| not) [<guild>] deafened
                discord command $checkGuildMute :
trigger:
if arg-1 is guild muted:
reply with "%arg-1% is guild muted!"
stop
reply with "%arg-1% is not guild muted!"
CONDITIONS

Emote is Animated

Copy Link
Check if a emote is animated.
                %emotes% (is|are) animated
%emotes% (is|are)(n't| not) animated
                discord command $emotes:
trigger:
loop emotes of event-guild:
if loop-value is animated:
add loop-value to {_animated::*}
else:
add loop-value to {_non::*}
create embed:
set the author info of the embed to author named "Emotes %reaction "":smile:""%" with no url and no icon
set the description of the embed to "%name of event-guild% has %size of {_non::*}% regular emotes and %size of {_animated::*}% animated emotes!!"
set the colour of the embed to Purple
add field named "Local emotes (1/1)" with value "%{_non::*}%" to embed
add field named "Animated emotes (1/1)" with value "%{_animated::*}%"
to embed
send the last created embed to event-channel with event-bot
CONDITIONS

Member Has Permission

Copy Link
Check if a member has a permission, can also check if they have a permission in a certain GuildChannel.
                %member% has permission %permission% [in %-channel%]
%user% has permission %permission% [in %guild/channel%]
%member% (doesn[']t|does not) have permission %permission% [in %-channel%]
%user% (doesn[']t|does not) have permission %permission% [in %guild/channel%]
                if event-member has permission voice connect
            
CONDITIONS

Member has role

Copy Link
Check if a member either does, or does not have either a specific %role% or a role with a certain name.
                %member% (has|have) [the] role %role%
%member% (does[n[']t]|does not) have [the] role %role%
%member% (has|have) [the] role [named] %string%
%member% (does[n[']t]|does not) have [the] role [named] %string%
                discord command $role  :
trigger:
if arg-1 has role named arg-2:
reply with "%arg-1% does have a role named %arg-2%"
stop
reply with "%arg-1% does not have a role named %arg-2%"
CONDITIONS

Member is muted

Copy Link
If the guild modifier is included, this passes if the member is muted via a guild admin.If it isn't included, it passes if the user has either muted themselves, or was muted by an admin
                %members% (is|are) [<guild>] muted
%members% (is|are)(n't| not) [<guild>] muted
                discord command $checkGuildMute :
trigger:
if arg-1 is guild muted:
reply with "%arg-1% is guild muted!"
stop
reply with "%arg-1% is not guild muted!"
CONDITIONS

NSFW

Copy Link
Lets you check if a channel builder or text channel is nsfw/sfw.
                [the] nsfw state[s] of %channelbuilders/textchannels%
%channelbuilders/textchannels%'[s] nsfw state[s]
                discord command nsfw:
prefixes: $
trigger:
if event-channel is nsfw:
reply with "%event-channel% is nsfw"
CONDITIONS

Attachment is Image

Copy Link
Check if a message attachment is an image.
                %attachments% (is|are) [a[n]] image[s]
%attachments% (is|are)(n't| not) [a[n]] image[s]
                on guild message received:
set {_} to attachment of event-message
if {_} is set:
if {_} is not an image:
broadcast "%attachment url of {_}%"
CONDITIONS

Create channel scope

Copy Link
Provides a easy way to create either a text channel or a voice channel.
                (make|create) [text] channel
(make|create) voice channel
                command /channel:
trigger:
create text channel:
set name of the channel to "Testing"
set {guild} to guild with id "56156156615611"
set nsfw state of the channel to true
create the channel in {guild} with "Jewel"
CONDITIONS

Make Embed

Copy Link
Provides a pretty and easy way of making a new embed with a bunch of different attributes
                (make|create) (embed|embed %-embedbuilder%)
(make|create) (embed|embed %-embedbuilder%) and send [(it|the embed)] to %users/channels% [(with|using) %bot/string%] [and store (it|the message) in %-objects%]
(make|create) (embed|embed %-embedbuilder%) and reply with [(it|the embed)] [and store (it|the message) in %-objects%]
                command $scope:
trigger:
make a new embed:
set color of embed the embed to red
set url of the embed to "https://google.com"
set title of the embed to "Google!"

set {_embed} to last made embed
CONDITIONS

Create Invite to

Copy Link
Create an invitation to a channel within a guild.
                (make|create) [a[n]] invite to %channel% [(with|as) %bot/string%]
            
                discord command invite:
prefixes: /
trigger:
create invite to event-channel:
set the max usage of the invite to 1
reply with "Done!"


EFFECTS

Force Play

Copy Link
This will force a bot to play a track and set the current playing track to be next in the queue. If the input isn't a single track or not able to be found it will not affect the bot.
                force [%bot/string% to] play %string/track% [in %guild%]
            
                force play "some youtube url im too lazy to go find one" in event-guild
            
EFFECTS

Join voice channel

Copy Link
Join a voice channel with a bot
                join %voicechannel% [with %bot/string%]
            
                join event-channel
            
EFFECTS

Leave Voice Channel

Copy Link
Make a bot leave it's voice channel in a guild.
                make %bots/strings% (leave|disconnect from) (voice|vc) [in %guild%]
            
                discord command leave:
prefixes: ##
trigger:
if voice channel of event-bot in event-guild is set:
make event-bot leave vc
reply with "I've left my voice channel"
stop
reply with "I'm not currently in any voice channels!"
EFFECTS

Pause track

Copy Link
Pause a track a bot is playing in a guild, if it is already paused nothing happens
                pause [the] (track|song) %bot/string% is playing [in %guild%]
            
                pause the track event-bot is playing in event-guild
            
EFFECTS

Play audio

Copy Link
Play a specific audio track or attempt to load something from a URL
                play %strings/tracks% [in %guild%] [with %bot/string%]
            
                play "https://www.youtube.com/watch?v=elwTgpHlty0" in guild with id "2199673352656165156" with "Jewel"
            
EFFECTS

Resume track

Copy Link
Resume a track a bot is playing in a guild, if the bot is not paused then nothing happens
                resume [the] (track|song|music) %bot/string% (is playing|has paused) [in %guild%]
            
                resume the track event-bot is playing
            
EFFECTS

Search Audio

Copy Link
Lets you search various music sites for a query. You can either access the results via the search results expression, or store them in a variable.
                search (youtube|soundcloud) for %strings% [and store the results in %listvariable%]
            
                on join:
search youtube for "%player%" and store the results in {_results::*}
if {_results::*} is set:
message "Did you know there are %size of {_results::*}% videos about you on YouTube?"
to player
EFFECTS

Shuffle Queue

Copy Link
This will randomize a bots queue
                shuffle [the] queue of %bot/string% [in %guild%]
            
                shuffle the queue of event-bot in event-guild
            
EFFECTS

Skip track

Copy Link
Skip the current track a bot is playing in a guild
                skip [the] (track|song)[s] %bot/string% is playing [in %guilds%]
            
                skip track event-bot is playing in event-guild
            
EFFECTS

Stop track

Copy Link
Stop a track a bot is playing in a guild
                stop [the] (track|song) %bot/string% is playing [in %guild%]
            
                stop the track event-bot is playing
            
EFFECTS

Mark Bot as Gametype

Copy Link
Set a bot's game to a certain gametype. This can be: streaming/watching/playing/listening. For streaming you must include a valid twitch URL to stream to and a title.
                mark %bot/string% as %gametype% [to] [with title] %string% [(and|on|with|at) url %-string%]
            
                discord command watch :
prefixes: ##
trigger:
mark event-bot as watching arg-1
discord command play :
prefixes: ##
trigger:
mark event-bot as playing arg-1
discord command stream :
prefixes: ##
trigger:
mark event-bot as streaming arg-1 with url arg-2
discord command listen :
prefixes: ##
trigger:
mark event-bot as listening to arg-1
EFFECTS

Retrieve User by ID

Copy Link
Retrieve a User via their ID on Discord. This should be a fallback option! Use the user with id expression to get users normally. This searches all of discord, not just your accessible users.
                (retrieve|grab) [the] user with id %string% [and store (them|the user) in %-objects%]
            
                retrieve user with id "65156156156156" and store them in {_message}
            
EFFECTS

Logout of Bot

Copy Link
Shutdown or logout of a bot, destroys the instance and closes the connection
                (logout [of]|shutdown) %bot/string%
            
                discord command $shutdown:
trigger:
shutdown event-bot
EFFECTS

Grab Messages

Copy Link
Grab a number of messages from a text channel
                grab [the] last %number% messages in %textchannel%
            
                discord command $purge :
executable in: guild
trigger:
set {_num} to arg-1
grab the last {_num} messages in event-channel
purge the grabbed messages with event-bot
set {_error} to last vixio error
if {_error} is set:
reply with "I ran into an error! `%{_error}%`"
stop
reply with "I have successfully purged %arg-1% messages"
EFFECTS

Grab Pinned Messages

Copy Link
Grab the pinned messages of a channel or a dm with a user. Can be gotten with the last grabbed pinned messages expression.
                (retrieve|grab) pinned messages (of|in|with) %textchannel/user%
            
                grab pinned messages of event-channel
            
EFFECTS

Pin Message

Copy Link
Pin a message in a channel.
                pin %messages% [with %bot/string%]
            
                pin event-message in event-channel
            
EFFECTS

Send typing

Copy Link
Make a bot start typing in a text channel.
                send typing in %textchannel/user% [with %bot/string%]
            
                send typing in event-channel
            
EFFECTS

Login

Copy Link
Login to a bot account with a token
                (login|connect) to %string% (using|with) [the] name %string%
            
                on skript load:
login to "MjM3MDYyNzE0MTY0MjQ4NTc2.DFfAvg.S_YgY26hqyS1SgNvibrpcdhSk94" with the name "VixioButler"
EFFECTS

Change NSFW

Copy Link
Lets you mark a text channel as sfw/nsfw
                (make|mark) %textchannels% [as] []sfw (with|using) %bot/string%
            
                discord command $nsfw :
trigger:
if arg-1 is true:
mark event-channel as nsfw with event-bot
stop
mark event-channel as sfw with event-bot
EFFECTS

Purge Messages

Copy Link
Bulk delete a bunch of messages.
                purge %messages% with %bot/string%
            
                discord command $purge :
executable in: guild
trigger:
set {_num} to arg-1
grab the last {_num} messages in event-channel
purge the grabbed messages with event-bot
set {_error} to last vixio error
if {_error} is set:
reply with "I ran into an error! `%{_error}%`"
stop
reply with "I have successfully purged %arg-1% messages"
EFFECTS

Change TTS

Copy Link
Lets you enable or disable text to speech for message builders
                (enable|disable) t[ext ]t[o ]s[peech] for %messagebuilders%
            
                enable tts for {_message builder}
            
EFFECTS

Updates

Copy Link
Pauses or resumes update's to a message's data. For example, if updates are pausedand a new reaction is added to the paused message, the message will still showas if it doesn't have that reaction.
                 updates (for|to) %messages%
            
                on guild message receive:
pause updates for event-message
EFFECTS

Send file

Copy Link
Send a file to a channel or a user. You can input a direct URL to the file or a direct path to the local image/file.
                upload %string% [with (message|embed) %-message/string%] to %user/channel% [with %bot/string%] [and store (it|the message) in %-objects%]
            
                discord command $upload [] []:
trigger:
if arg-1 is not set:
upload "https://cdn.discordapp.com/attachments/236641445363056651/482328479288000513/e8873489-b8e8-41f0-bfdf-1af0e7f8689a.png" to event-channel
stop
if arg-2 is not set:
upload arg-1 to event-channel
stop
upload arg-1 with message arg-2 to event-channel
EFFECTS

Create channel

Copy Link
Create either a voice channel or a text channel as requested.
                create text[(-| )]channel [named] %string% [in %guild%] [(as|with) %bot/string%]
create voice[(-| )]channel [named] %string% [in %guild%] [(as|with) %bot/string%]
                discord command $create  :
trigger:
if arg-1 contains "voice":
create voice channel named arg-2
stop
else if arg-1 contains "text":
create text channel named arg-2
stop
reply with "The first argument must either be ""text"" or ""voice"""
EFFECTS

Clone Channel

Copy Link
Clone a existing channel into either a new guild or the current guild under a new name.
                clone %channel% [in[to] %guild%] [with [the] [new] name %-string%] [(with|as) %bot/string%] [and store (it|the channel) in %-objects%]
            
                clone event-channel with the new name "Rawr!"
            
EFFECTS

Create Channel Builder

Copy Link
Create a channel created with the create channel scope
                create %channelbuilder% in %guild% [(with|as) %bot/string%] [and store (it|the channel) in %-objects%]
            
                discord command ##create:
trigger:
create voice channel:
set the name of the channel to "{@bot}"
set the bitrate of the channel to 69
create the channel in event-guild
EFFECTS

Create emote

Copy Link
Create a emote in a specific guild, the first %string% can either be a direct url or a direct local path to a file.
                create emote %string% with [the] name %string% [in %guild%] [with %bot/string%]
            
                discord command $createEmote  :
trigger:
create emote arg-1 with name arg-2
wait 2 seconds
reply with "%reaction arg-2%"
EFFECTS

Delete Discord Entity

Copy Link
Delete any deletable discord entity
                delete discord entit(y|ies) %messages/channels/roles/guilds/categories/emote% [with %bot/string%]
            
                delete discord entity event-channel
            
EFFECTS

Bans list

Copy Link
Retrieve all of the banned users in a guild. The results are stored in the retrieved bans expression
                (retrieve|grab) [the] (bans|ban list) of %guild%
            
                discord command $bans:
trigger:
grab bans of event-guild
set {_errors} to the last vixio error
if {_errors} is set:
reply with "I ran into an error! %{_errors}%"
stop
reply with "Here are the current bans: `%grabbed bans%`"
EFFECTS

Make Bot leave Guild

Copy Link
Force a bot to leave a guild.
                make %bot/string% leave %guild%
            
                make event-bot leave event-guild
            
EFFECTS

Move Member to Voice Channel

Copy Link
Move a member to a different voice channel, they must already be in a voice channel to be moved.
                move %member% to %voicechannel% [with %bot/string%]
            
                discord command $move  :
trigger:
set {_voiceChannel} to voice channel with id arg-2
if {_voiceChannel} is not set:
reply with "I could not find a voice channel by that id"
stop
move arg-1 to {_voiceChannel}
EFFECTS

Member Permission in GuildChannel

Copy Link
Allow, or deny a role or a member permissions to a channel
                (allow|1�deny) %roles/members% [the] permission[s] %permissions% [in %channels%] [with %bot/string%]
            
                discord command grant  :
trigger:
if id of event-guild is not "219967335266648065":
stop
set {_role} to role with id arg-1
allow {_role} the permission arg-2 in event-channel
deny the public role of event-guild the permission arg-2 in event-channel
EFFECTS

Create Invite to Channel

Copy Link
Create a invitation to a channel. Can store the newly created invite with the storage option or use the last created invite expression.
                create a[n] (invite|invitation) to %channel% [with %bot/string%] [and store it in %-objects%]
            
                discord command invite:
trigger:
create an invite to event-channel
reply with "%the last created invite%"
EFFECTS

Retrieve Invites of

Copy Link
Retrieve invites in a Guild or a Channel in a Guild. Must use the last retrieved invites expression to get them after calling this.
                (grab|retrieve) the invite(s| link[s]) of %guild/channel%
            
                discord command test:
prefixes: /
trigger:
retrieve the invites of event-guild
reply with "%last grabbed invites%"
EFFECTS

Ban user

Copy Link
Ban either a user, a member, or a user by their ID
                ban %users/strings% from %guild% [(due to|with reason|because of) %-string%] [and delete %-number% days [worth] of messages] [(with|as) %bot/string%]
            
                command /ban :
trigger:
ban arg-1 from guild with id "622156156316116151" due to "Not following discord rules" as "Jewel"
EFFECTS

Deafen user

Copy Link
Lets you deafen or undeafen a member/user. They must be in a voice channel for this to take effect.
                []deafen %members% [(with|using) %bot%]
            
                discord command $deaf :
trigger:
if voice channel of arg-1 is not set:
reply with "You cannot deaf or undeafen someone who is not in a voice channel"
stop
if arg-1 is not guild deafened:
deafen arg-1 with event-bot
reply with "%arg-1% is now deaf"
else:
undeafen arg-1 with event-bot
reply with "%arg-1% is no longer deafened"
EFFECTS

Kick user

Copy Link
Kick either a user, a member, or a user by their ID
                kick %users/strings% from %guild% [(due to|with reason|because of) %-string%] [(with|as) %bot/string%]
            
                command /kick :
trigger:
kick arg-1 from guild with id "622156151" due to "Not following discord rules" as "Jewel"
EFFECTS

Mute/UnMute a User/Member

Copy Link
Either guild mute a member, or guild unmute a member.
                []mute %members% [(with|using) %bot%]
            
                discord command $mute :
trigger:
if voice channel of arg-1 is not set:
reply with "You cannot mute or unmute someone who is not in a voice channel"
stop
if arg-1 is not guild muted:
mute arg-1 with event-bot
reply with "%arg-1% is now muted"
else:
unmute arg-1 with event-bot
reply with "%arg-1% is no longer muted"
EFFECTS

Unban user from Guild

Copy Link
Un-ban a user from a guild as a bot.
                unban %users/strings% from %guild% [(with|as) %bot/string%]
            
                command /ban :
trigger:
unban arg-1 from event-guild
EFFECTS

Append String to Message Buillder

Copy Link
Add text to a Message Builder. If you include the word 'line' then it will append a new line for you after your text.
                append [line] %strings% to %messagebuilder%
            
                command /build:
trigger:
set {e} to a new message builder
set text of {e} to "Hello"
append " World!" to {e}
broadcast "The final product is: %text of {e}%"
EFFECTS

Add Reaction to Message

Copy Link
Add a reaction to a message, can get a reaction with the reaction %string% expression
                add %emotes% to %messages% [with %bot/string%]
            
                add reaction "smile" to event-message with "Jewel"
            
EFFECTS

Edit Message

Copy Link
A more natural way to edit a message. Don't forget that you can only edit your own messages.
                edit %messages% to (show|say) %message/string%
            
                discord command $edit:
trigger:
reply with "Ping" and store it in {_msg}
edit {_msg} to show "Pong!"
EFFECTS

Remove Emote by User

Copy Link
Remove a specific users emote from a message, this is for removing a users reacted emote in the reaction add event mostly.
                remove %emotes% added by %user% from %message% [with %bot/string%]
            
                on reaction added:
remove event-emote added by event-user from event-message
EFFECTS

Reply with

Copy Link
Reply with a message in a event
                reply with %messages/strings% [and store (it|the message) in %-objects%]
            
                reply with "Hello %mention tag of event-user%"
            
EFFECTS

Retrieve message with id

Copy Link
Get a Message via it's ID from a Guild/TextChannel
                retrieve message [with id] %string% [(in|from) %channel/user%]
            
                discord command $addReaction  :
trigger:
retrieve message with id arg-1
if last retrieved message is not set:
reply with "Could not find a message with that id!"
stop
add reaction arg-2 to reactions of last retrieved message with event-bot
EFFECTS

Send Message

Copy Link
Send a message to either a user or a text channel.
                send %message/string/messagebuilder/embedbuilder% to %channels/users% with %bot/string% [and store (it|the message) in %-objects%]
            
                discord command $send  []:
trigger:
if arg-2 is not set:
send arg-1 to event-channel with event-bot
stop
set {_channel} to channel with id arg-2
if {_channel} is not set:
reply with "I could not find a channel with that id!"
stop
send arg-1 to {_channel} with event-bot
EFFECTS

Delete message

Copy Link
Delete a %message% with a specific bot
                delete %message% with %bot/string%
            
                delete event-message with "Jewel"
            


EXPRESSIONS

Bot paused state

Copy Link
Check if a bot is paused or not. Can be set to true/false.
                %bot/string% paused state [in %guild%]
            
                discord command $pause:
executable in: guild
trigger:
if event-bot is paused:
set event-bot paused state to false
reply with "I'm no longer paused"
stop
set event-bot paused state to true
reply with "I'm now paused"
EXPRESSIONS

Queue of bot

Copy Link
Get all the tracks a bot currently has queued up for a guild.
                [the] queue of %bot/string% [in %guild%]
            
                discord command $reset:
trigger:
reset the queue of event-bot
reply with "You have successfully cleared my queue"
EXPRESSIONS

Track Bot Is Playing

Copy Link
Get the tracks a bot is playing in a specific guild.
                [the] track[s] %bot/string% is playing [in %guild%]
            
                discord command $info:
trigger:
set {_track} to track event-bot is playing
if {_track} is not set:
reply with "I am not currently playing anything!"
stop
reply with "I am currently playing %name of {_track}% by %author of {_track}%"
EXPRESSIONS

Volume of bot

Copy Link
Get the volume a bot is set to in a guild. Can be set to a number that is between 0 and 150. This can also be reset which sets the volume to 150. Anything over 150 is ignored and the volume is set to 150.
                [the] volume of %bot/string% [in %guild%]
            
                discord command $volume []:
trigger:
if arg-1 is not set:
reply with "%volume of event-bot%"
stop
set the volume of event-bot to arg-1
reply with "My volume is now: `%volume of event-bot%`"
EXPRESSIONS

Game type

Copy Link
Get the type of game a user, a bot, or a bot specified by name is playing.
                [the] game type[s] of %bots/users/strings%
%bots/users/strings%'[s] game type[s]
                discord command $streaming :
trigger:
set {_type} to the game type of event-user
if {_type} is streaming:
reply with "%arg-1% is live!"
stop
reply with "%arg-1% is not streaming currently"
EXPRESSIONS

Guilds of bot

Copy Link
Get all the guilds of a bot
                [the] guild[s] of %bot/string%
%bot/string%'[s] guild[s]
                
            
EXPRESSIONS

Mutual Guild of User

Copy Link
Get all the guilds a user and a bot share. The bot may be assumed in events.
                [the] mutual guilds (of|with) %user% [and %bot/string%]
%user%[[']s] and %bot/string%[[']s] mutual guilds
                discord command $mutual :
trigger:
reply with "I share %size of mutual guilds of arg-1% guilds with %arg-1%"
EXPRESSIONS

Uptime Of Bot

Copy Link
Get the amount of time a bot has been up in a skript date form.
                [the] uptime[s] of %strings/bots%
%strings/bots%'[s] uptime[s]
                discord command $uptime:
trigger:
reply with "I've been awake for %uptime of event-bot%"
EXPRESSIONS

The Channel

Copy Link
Get the channel in a create channel scope
                [(the|a)][new] channel[(-| )builder]
            
                discord command $setup:
trigger:
create text channel:
set the name of the channel to "Bot channel"
set the topic of the channel to "Hi Pika"

create the channel in event-guild and store it in {_chnl}
EXPRESSIONS

Bitrate of channel builder

Copy Link
Get the bitrate of a channel builder. The default value is 64kbps for channel builders. Rates multiplied by 1000.You can set or reset this (resets to 64kbps)
                [the] bitrate[s] of %channelbuilders%
%channelbuilders%'[s] bitrate[s]
                discord command $create:
trigger:
create voice channel:
set the name of the channel to "{@bot}"
set the bitrate of the channel to 69
create the channel in event-guild
EXPRESSIONS

User limit of a channel builder

Copy Link
Get or sets the user limit of a channel builder
                [the] user limit[s] of %channelbuilders%
%channelbuilders%'[s] user limit[s]
                discord command $create:
trigger:
create voice channel:
set the name of the channel to "{@bot}"
set the user limit of the channel to 5
create the last made channel in event-guild and store it in {_chnl}
reply with "I have successfully created the channel! ID: %id of {_chnl}
%"
EXPRESSIONS

Name of Channel Builder

Copy Link
Get the name of a channel builder. Can be set to a string.
                [the] name[s] of %channelbuilders%
%channelbuilders%'[s] name[s]
                discord command $create :
trigger:
create text channel:
set the name of the channel to arg-1
create the last made channel in event-guild and store it in {_chnl}
reply with "I have successfully created the channel! ID: %id of {_chnl}%"
EXPRESSIONS

NSFW State of a channel builder

Copy Link
Returns whether or not a channel builder is NSFW (false by default). Can be set to either true or false.
                [the] nsfw state[s] of %channelbuilders%
%channelbuilders%'[s] nsfw state[s]
                discord command $create  :
trigger:
create text channel:
set the name of the channel to arg-1
set the nsfw state of the channel to arg-2
create the last made channel in event-guild and store it in {_chnl}
reply with "I've successfully created a channel named `%arg-1%`
ID: %id of {_chnl}%"
EXPRESSIONS

Category of channel builder

Copy Link
Get or set the category of a channel builder.
                [the] (category|parent)[s] of %channelbuilders%
%channelbuilders%'[s] (category|parent)[s]
                discord command $create :
trigger:
create text channel:
set the name of the channel to arg-1
set the parent of the channel to category named "xd"
create the last made channel in event-guild and store it in {_chnl}
reply with "I've successfully created a channel named `%arg-1%`
ID: %id of {_chnl}%"
EXPRESSIONS

Topic of channel builder

Copy Link
Gets or sets the topic of a channel builder.
                [the] topic[s] of %channelbuilders%
%channelbuilders%'[s] topic[s]
                discord command $create :
trigger:
create text channel:
set the name of the channel to arg-1
set the topic of the channel to "Hi Pika"
create the last made channel in event-guild and store it in {_chnl}
reply with "I've successfully created a channel named `%arg-1%`
ID: %id of {_chnl}%"
EXPRESSIONS

Last Created Channel Builder

Copy Link
Get the last made Channel Builder created via the Channel Builder scope.
                [the] last[ly] [(made|created)] channel[[ ]builder]
            
                discord command $create :
trigger:
create text channel:
set the name of the channel to arg-1
set the topic of the channel to "Hi Pika"
create the last made channel in event-guild and store it in {_chnl}
reply with "I've successfully created a channel named `%arg-1%`
ID: %id of {_chnl}%"
EXPRESSIONS

Bitrate of Voice Channel

Copy Link
Get the bitrate of a voice channel. The default value is 64kbps for channel builders. Rates multiplied by 1000. You can set or reset this (resets to 64kbps)
                [the] bitrate[s] of %voicechannels%
%voicechannels%'[s] bitrate[s]
                discord command $bitrate  :
trigger:
set bitrate of voice channel with id arg-1 to arg-2
EXPRESSIONS

User limit of Voice Channel

Copy Link
Get or sets the user limit of a voice channel
                [the] user limit[s] of %voicechannels%
%voicechannels%'[s] user limit[s]
                discord command $bitrate  :
trigger:
set user limit of voice channel with id arg-1 to arg-2 with event-bot
EXPRESSIONS

Channel Named

Copy Link
Get a channel via it's name, you can include the type of channel and/or the guild to speed the retrieval process up. The searching is case sensitive.
                [(voice|text)][(-| )]channel[s] named %string% [in %-guild%]
            
                discord command move :
trigger:
set {_} to voice channel named arg-1
if voice channel of event-member is not set:
reply with "Not in vc to move to"
stop
move event-member to {_}
reply with "Done! %event-member% was moved to %{_}%"
EXPRESSIONS

NSFW state of Text Channel

Copy Link
Returns whether or not a channel is NSFW (false by default). This can be set to a boolean or reset.
                [the] nsfw state[s] of %textchannels%
%textchannels%'[s] nsfw state[s]
                discord command nsfw :
prefixes: $
trigger:
set nsfw state of event-channel to arg-1
EXPRESSIONS

Category of Channel

Copy Link
Get or set the category of a channel.
                [the] (category|parent)[s] of %channels%
%channels%'[s] (category|parent)[s]
                discord command $category  :
trigger:
set {_category} to category named arg-2
set {_channel} to channel with id arg-1
set parent of {_channel} to {_category} with event-bot
reply with "Successfully moved %{_channel}% to %{_category}%"
EXPRESSIONS

Position of

Copy Link
Get or set the current position of a role or a channel. With channels, 0 is the highest channel, with roles 0 is the lowest custom role, then 1 is the next role up, then 2...
                [the] discord position[s] of %channels/roles%
%channels/roles%'[s] discord position[s]
                discord command $pos :
trigger:
set {_vc} to channel with id arg-1
reply with "%{_vc}%"
reply with "%discord position of {_vc}%"
EXPRESSIONS

Topic of Text Channel

Copy Link
Get or set the topic of a text channel. You may also delete the topic to reset it.
                the] topic[s] of %textchannels%
%textchannels%'[s] topic[s]
                set topic of event-channel to "Hi Pika" with event-bot
            
EXPRESSIONS

Grabbed Messages

Copy Link
Get the grabbed messages from the grab messages effect. This can be used in the purge effect to purge the messages.
                [the] grabbed messages
            
                discord command $purge :
executable in: guild
trigger:
set {_num} to arg-1
grab the last {_num} messages in event-channel
purge the grabbed messages with event-bot
set {_error} to last vixio error
if {_error} is set:
reply with "I ran into an error! `%{_error}%`"
stop
reply with "I have successfully purged %arg-1% messages"
EXPRESSIONS

Last Retrieved Pins

Copy Link
Get the results of the last grab pinned messages search.
                [last] (grabbed|retrieved) (pins|pinned messages)
            
                discord command $pins:
trigger:
grab pinned messages in event-channel
reply with "%grabbed pins%"
EXPRESSIONS

Slowmode of TextChannel

Copy Link
Set the slowmode of a text channel. Only text channels can have have their slowmode set and retrieved. This can be set, reset, and deleted.
                [the] slowmode[s] of %channel/textchannel%
%channel/textchannel%'[s] slowmode[s]
                broadcast "slowmode of event-channel"
            
EXPRESSIONS

Used Alias

Copy Link
Returns the used alias in a command
                [the] used alias
            
                broadcast the used alias
            
EXPRESSIONS

Aliases of command

Copy Link
Returns the aliases of a command
                [the] [] aliases[s] of %discordcommands%
%discordcommands%'[s] [] aliases[s]
                broadcast aliases of "commandname" parsed as a discord command
            
EXPRESSIONS

Last Argument

Copy Link
Represents the argument of a command
                [the] last arg[ument][s]
            
                discord command say :
prefixes: !
. and ;
trigger:
reply with arg-1 # replies with the first argument
EXPRESSIONS

Used Command

Copy Link
Returns the used command in a command
                [the] used command
            
                broadcast aliases of the used command
            
EXPRESSIONS

All Commands

Copy Link
Returns all registered discord commands
                [all] discord commands
            
                loop all discord commands:
broadcast description of loop-value
EXPRESSIONS

Description of Command

Copy Link
Returns the description of a command.
                [the] description[s] of %discordcommands%
%discordcommands%'[s] description[s]
                broadcast description of "commandname" parsed as a discord command
            
EXPRESSIONS

Used Prefix

Copy Link
Returns the used prefix in a command
                [the] used prefix
            
                broadcast the used prefix
            
EXPRESSIONS

Prefixes of command

Copy Link
Returns the prefixes of a command
                [the] prefixes[s] of %discordcommands%
%discordcommands%'[s] prefixes[s]
                broadcast prefixes of "commandname" parsed as a discord command
            
EXPRESSIONS

Command Recipient

Copy Link
Returns the type of channel a command was sent to
                [the] command recipient
            
                broadcast the command recipient
            
EXPRESSIONS

Usage of Command

Copy Link
Returns the usage of a command.
                [the] usage[s] of %discordcommands%
%discordcommands%'[s] usage[s]
                broadcast usage of "commandname" parsed as a discord command
            
EXPRESSIONS

New/Current Embed

Copy Link
If it isn't inside an embed scope, this expression returns a new embed. If it is inside of an embed scope, it returns the embed that belongs to that scope.
                [(the|an|[a] new)] embed
            
                # outside a scope
set {_e} to a new embed
make a new embed:
set color of embed the embed to red
set url of the embed to "https://google.com"
set title of the embed to "Google!"

set {_embed} to last made embed
EXPRESSIONS

Author of Embed

Copy Link
Returns the author of an embed. Can be set to any author.
                [the] (author info|author)[s] of %embedbuilders%
%embedbuilders%'[s] (author info|author)[s]
                set author of {_embed} to author named "Pikachu"
            
EXPRESSIONS

Color of Embed

Copy Link
Returns the color of an embed. Can be set to any color (e.g. red).
                [the] colo[u]r[s] of %embedbuilders%
%embedbuilders%'[s] colo[u]r[s]
                set discord color of {_embed} to red
            
EXPRESSIONS

Description of Embed

Copy Link
Returns the description of an embed. Can be set to any string.
                [the] description[s] of %embedbuilders%
%embedbuilders%'[s] description[s]
                set the description of {_embed} to "This is a cool description!"
            
EXPRESSIONS

Fields Of Embed

Copy Link
Returns a embed's fields
                [the] field[s] of %embedbuilders%
%embedbuilders%'[s] field[s]
                set {_fields::*} to fields of {_embed}
            
EXPRESSIONS

Image of Embed

Copy Link
Returns the image of an embed. Can be set any url.
                [the] image[s] of %embedbuilders%
%embedbuilders%'[s] image[s]
                set the image of {_embed} to "https://i.imgur.com/TQgR2hW.jpg"
            
EXPRESSIONS

Embed of Message

Copy Link
Get the Embed of a Message
                [the] embed[s] of %messages%
%messages%'[s] embed[s]
                broadcast "%embed of event-message%"
            
EXPRESSIONS

Thumbnail of Embed

Copy Link
Returns the thumbnail of an embed. Can be set to any string (e.g. https://i.imgur.com/TQgR2hW.jpg).
                [the] (thumbnail|icon)[s] of %embedbuilders%
%embedbuilders%'[s] (thumbnail|icon)[s]
                set the thumbnail of {_embed} to "https://i.imgur.com/TQgR2hW.jpg"
            
EXPRESSIONS

Title of Embed

Copy Link
Returns the title of an embed.
                [the] title[s] of %embedbuilders%
%embedbuilders%'[s] title[s]
                set the embed title of {_embed} to title with text "hey this is a cool title!" and no icon
            
EXPRESSIONS

Inline Embed

Copy Link
Lets you easily make an embed with a couple common properties.
                %embedbuilder% ((with|and) [the] title %-string%|titled %-string%)
%embedbuilder% (with|and) [the] description %string%
                set {_embed} to a new embed with the title "Title" and the description "Description"
            
EXPRESSIONS

Last Made Embed

Copy Link
Returns the embed that was last made in a embed scope
                [the] last[ly] [(made|created)] embed[[ ]builder]
            
                set {_embed} to the last embed
            
EXPRESSIONS

Url of Title

Copy Link
Returns the url of a title.
                [the] (url|link)[s] of %titles%
%titles%'[s] (url|link)[s]
                broadcast "%link of {_embed}'s title%"
            
EXPRESSIONS

Dimension of Image

Copy Link
Returns a dimension of an embed's thumbnail, image, footer icon or icon. You can specify either width or height.
                [the] [s] of %thumbnails/imageinfos%
%thumbnails/imageinfos%'[s] [s]
                reply with "%width of {_embed}'s thumbnail%"
            
EXPRESSIONS

Url of Image

Copy Link
Returns the url of an embed's thumbnail, footer icon, author, icon or large image. Adding the proxy modifier to the syntax will return Discord's proxy url if possible.
                [the] [] url[s] of %thumbnails/imageinfos/footers/authorinfos%
%thumbnails/imageinfos/footers/authorinfos%'[s] [] url[s]
                broadcast "%proxy url of {_embed}'s thumbnail%"
            
EXPRESSIONS

New Author Info

Copy Link
Returns a author with the specified data
                [an] author named %string% with [([the] url %-string%|no url)[( and [the]|, )]] [(icon %-string%|no icon)]]
            
                set author of {_embed} to an author named "Pikachu" with the url "http://vixio.space/docs" and icon "https://i.imgur.com/TQgR2hW.jpg"
            
EXPRESSIONS

New Field

Copy Link
Returns a field with the specified data
                [(a|the)] (split|inline) field[s] [named %-string%] [with [the] value %-string%]
[(a|the)] field[s] [named %-string%] [with [the] value %-string%]
                set field of {_embed} to a split field named "Super cool field" and value "Super cool value"
            
EXPRESSIONS

New Title

Copy Link
Returns a title with the specified data
                [a] title [with] [the] text %string%[( and [the]|, )((url|link) %-string%|no (url|link))]
            
                set title of {_embed} to a title with text "Vixio" and url "https://i.imgur.com/TQgR2hW.jpg"
            
EXPRESSIONS

New and Previous Channel

Copy Link
Get the new channel or previous channel for the member channel switch event.
                [the] (prev[ious]|old) [voice] channel
[the] new [voice] channel
                on member switch voice channel:
broadcast "%event-user% left %old channel% and joined %new channel%"
EXPRESSIONS

Color

Copy Link
A color that can be more specific that Skript's color type.
                [java[ ]]colo[u]r from rgb %number%(, | and )%number%(, | and )%number%
            
                set {_color} to color from rgb 0
0 and 0 # results in black
set {_color} to black # results in black
set {_color} to "black" parsed as a color # results in black
EXPRESSIONS

Emoji Named

Copy Link
Get a emoji by its name, if its a custom emote you must include the guild.
                (emoji|emote|reaction)[s] %strings% [(from|in) %-guild%]
            
                on guild message receive:
add reaction "smile" to event-message
EXPRESSIONS

Guild of

Copy Link
Get the guild of various types.
                [the] guild[s] of %channel/voicechannel/message/emote/category/role/member/invite%
%channel/voicechannel/message/emote/category/role/member/invite%'[s] guild[s]
                set {_guild} to guild of event-message
            
EXPRESSIONS

ID of

Copy Link
Get the ID of any discord entity.
                [the] discord id[s] of %channel/guild/bot/user/message/role/avatar/category/member/emote/attachment%
%channel/guild/bot/user/message/role/avatar/category/member/emote/attachment%'[s] discord id[s]
                reply with "%id of event-user%"
            
EXPRESSIONS

Last Vixio Error

Copy Link
Set when Vixio runs into a error, like a permission error.
                [the] last vixio error
            
                discord command $ban :
trigger:
ban arg-1 from event-guild
set {_error} to the last vixio error
if {_error} is set:
reply with "I tried to ban that user but didn't have the perms!"
EXPRESSIONS

Mention of

Copy Link
Get the mention tag of any discord entity that can be mentioned.
                [the] mention tag[s] of %users/channel/members/emotes/roles/textchannel%
%users/channel/members/emotes/roles/textchannel%'[s] mention tag[s]
                reply with mention tag of event-user
            
EXPRESSIONS

Name of

Copy Link
Get the name of any discord entity. You can set the name of channels, guilds, bots, categories, and channel builders.
                [the] discord name[s] of %channel/guild/bot/user/role/track/category/emote/field/attachment%
%channel/guild/bot/user/role/track/category/emote/field/attachment%'[s] discord name[s]
                broadcast "%name of event-user%"
            
EXPRESSIONS

New and Previous Nicknames

Copy Link
Get the new or previous nickname from the nick change event.
                [the] prev[ious] nick[name]
[the] new nick[name]
                on nickname change:
broadcast "%event-member% has changed their nick from %prev nick% to %new nick%"
EXPRESSIONS

Added or Removed roles.

Copy Link
Get the roles that were added or removed in the member role added and member role removed events.
                [the] role[s]
            
                SOON
            
EXPRESSIONS

Search Results

Copy Link
Represents the search results from the last usage of the search effect. The search results get reset every time the search effect is used.
                [the] [last] search results
            
                on join:
search youtube for "%player%" and store the results in {_results::*}
if search results are set:
message "Did you know there are %size of search results% videos about you on YouTube?"
to player
EXPRESSIONS

User Named

Copy Link
Retrieve a user by their name. If the [s] is included in users than this will return a list.If the s is not included but their are multiple people with the same name, then the first one will be returned.This does NOT retrieve the user from Discord. This is from what your bots can see.
                user[s] (with [the] name|named) %string% [in %-guild%]
            
                discord command user :
trigger:
set {_} to user with the name arg-1 in event-guild
reply with "Oh
found them! %discord name of {_}%##%discriminator of {_}%"
EXPRESSIONS

Categories of guild

Copy Link
Get all of the categories in a guild. You may add a category to this by name which creates a category, or delete/remove a category by inputting a category.
                [the] categories[s] of %guilds%
%guilds%'[s] categories[s]
                discord command $categories:
trigger:
set {_categories::*} to the categories of event-guild
reply with "Here are the current categories: `%{_categories::*}%`"
EXPRESSIONS

Category named

Copy Link
Get a Category by its name in a Guild.
                [the] category (with [the] name|named) %string% [in %guild%]
            
                discord command $create :
trigger:
create text channel:
set the name of the channel to arg-1
set the parent of the channel to category named "xd"
create the last made channel in event-guild and store it in {_chnl}
reply with "I've successfully created a channel named `%arg-1%`
ID: %id of {_chnl}%"
EXPRESSIONS

Category with ID

Copy Link
Get a Category via it's ID.
                category with id %string% [in %-guild%]
            
                reply with "%category with id ""4516161651""%"
            
EXPRESSIONS

Owner of Guild

Copy Link
Get or set the owner of a guild.
                [the] discord owner[s] of %guilds%
%guilds%'[s] discord owner[s]
                discord command $transfer :
trigger:
set discord owner of event-guild to arg-1 with event-bot
EXPRESSIONS

Afk channel of Guild

Copy Link
Get the AFK voice channel of a guild. You can set this to another channel.
                [the] afk channel[s] of %guilds%
%guilds%'[s] afk channel[s]
                discord command $afk:
trigger:
reply with "%afk channel of event-guild%"
EXPRESSIONS

Retrieved bans

Copy Link
Get the last set of retrieved bans from a guild. The bot must have enough permissions to retrieve the bans list.
                [last] (grabbed|retrieved) bans
            
                discord command $bans:
trigger:
grab bans of event-guild
reply with "Here are the banned users: %grabbed bans%"
EXPRESSIONS

Channels of

Copy Link
Get all of the channels of a guild or category.
                [the] channel[s] of %guild/category%
%guild/category%'[s] channel[s]
                discord command $channels []:
trigger:
if arg-1 is not set:
reply with "Here are the current channels: `%channels of event-guild%`"
stop
set {_category} to category named arg-1
reply with "Here are the channels of the category named %arg-1%: `%channels of {_category}%`"
EXPRESSIONS

Discord Creation Date of

Copy Link
Get the creation date of most things in Discord.
                [the] discord creation date[s] of %channel/guild/message/role/category/emote/attachment%
%channel/guild/message/role/category/emote/attachment%'[s] discord creation date[s]
                broadcast "%discord creation date of event-guild%"
            
EXPRESSIONS

Emotes of guild

Copy Link
Get all of the emotes a guild has added.
                [the] [] emote[s] of %guild%
%guild%'[s] [] emote[s]
                discord command $emotes:
executable in: guild
trigger:
loop emotes of event-guild:
if loop-value is animated:
add loop-value to {_animated::*}
else:
add loop-value to {_non::*}
create embed:
set the author info of the embed to author named "Emotes %reaction "":smile:""%" with no url and no icon
set the description of the embed to "%name of event-guild% has %size of {_non::*}% regular emotes and %size of {_animated::*}% animated emotes!!"
set the colour of the embed to Purple
add field named "Local emotes (1/1)" with value "%{_non::*}%" to embed
add field named "Animated emotes (1/1)" with value "%{_animated::*}%"
to embed
send the last created embed to event-channel with event-bot
EXPRESSIONS

Icon URL of Guild

Copy Link
Get a guild's icon url.
                [the] icon[s] of %guilds%
%guilds%'[s] icon[s]
                reply with "%icon of event-guild%"
            
EXPRESSIONS

Last Created Invitation

Copy Link
Get the last invite created by vixio, can specify the specific channel if you want.
                [the] last created invite [for %-channel%]
            
                discord command invite:
trigger:
create an invite to event-channel
reply with "%the last created invite%"
EXPRESSIONS

Members of

Copy Link
Get all of the Member from a variety of different types.
                [the] discord member[s] of %guild/category/channel%
%guild/category/channel%'[s] discord member[s]
                discord command $guild:
trigger:
reply with "%size of discord members of event-guild%"
EXPRESSIONS

Public Role of Guild

Copy Link
Get the public role in a guild. This is the everyone role.
                [the] public role[s] of %guild%
%guild%'[s] public role[s]
                discord command role:
trigger:
reply with "`%public role of event-guild%`"
EXPRESSIONS

Region of Guild

Copy Link
Get the current region of a guild.
                [the] region[s] of %guilds%
%guilds%'[s] region[s]
                broadcast "%region of event-guild%"
            
EXPRESSIONS

Role Named

Copy Link
Get a role via it's name in a guild.
                [the] role[] (with [the] name|named) %string% [in %guild%]
            
                discord command $role :
trigger:
set {_role} to role named arg-1
if {_role} is not set:
reply with "Could not find a role by that name!"
stop
reply with "I found the role! ID: %id of {_role}%"
EXPRESSIONS

Roles of Guild

Copy Link
Get all of the roles a guild has.
                [the] role[s] of %guild%
%guild%'[s] role[s]
                discord command $roles:
trigger:
reply with "Here are the current roles: `%roles of event-guild%`"
EXPRESSIONS

Text Channels of

Copy Link
Get all of the text channels in a guild or a category.
                [the] text(-| )channel[s] of %guild/category%
%guild/category%'[s] text(-| )channel[s]
                discord command $channels []:
trigger:
if arg-1 is not set:
reply with "Here are the current channels: `%channels of event-guild%`"
stop
set {_category} to category named arg-1
reply with "Here are the channels of the category named %arg-1%: `%channels of {_category}%`"
EXPRESSIONS

Discord Verification level of Guild

Copy Link
Get a Guild's verification level. This can be reset and set.
                [the] discord verification level[s] of %guilds%
%guilds%'[s] discord verification level[s]
                broadcast "%discord verification level of event-guild%"
            
EXPRESSIONS

Voice Channels

Copy Link
Get all of the voice channels of a guild or category.
                [the] voice[(-| )]channels of %guild/category%
%guild/category%'[s] voice[(-| )]channels
                on guild message receive:
set {_channels::*} to voice channels of event-guild
loop {_channels::*}:
broadcast "%name of loop-value%"
EXPRESSIONS

Channel of

Copy Link
Get the channel an invite was created for.
                [the] [discord] channel[s] of %invite%
%invite%'[s] [discord] channel[s]
                discord command parse :
prefixes: /
trigger:
retrieve the invites of event-guild
set {in::*} to last grabbed invites
loop {in::*}:
if "%loop-value%" contains arg-1:
set {_} to loop-value
make embed and send it to event-channel:
set the title of the embed to title with text "Parsing results for invite: %invite url of {_}%"
set the colour of the embed to Cyan
set the thumbnail of embed to "https://cdn.discordapp.com/icons/236641445363056651/e51b2c2f4d539f7c18ae966d60992d25.png"
add field named "Max Uses" with value "%max uses of {_}%" to embed
add field named "Max Age (In Seconds)" with value "%max age of {_}%" to embed
add field named "Time Created" with value "%creation date of {_}%" to embed
add field named "Guild" with value "%guild of {_}%" to embed
add field named "Channel" with value "%channel of {_}%"
to embed
EXPRESSIONS

New/Current Invite

Copy Link
If it isn't inside an invite creation scope, this expression returns a new invite. If it is inside an invite creation scope, it returns the invite that belongs to that scope.
                [(the|an|[a] new)] invite
            
                discord command rawr:
prefixes: /
trigger:
create invite to event-channel with event-bot:
set max uses of the invite to 5
set {_} to the invite
reply with "%creation date of of {_}%"
EXPRESSIONS

Max Age

Copy Link
Set how long an invite that is being created in the invite creation scope should last. (In seconds).This defaults to 86400 seconds (24 Hours.). Set it to 0 if you want it to never expire. This number cannot be negative
                [the] max age[s] of %invite%
%invite%'[s] max age[s]
                discord command invite:
prefixes: /
trigger:
create invite to event-channel:
set the max usage of the invite to 1
set the max age of the invite to 36
set {_} to the invite
reply with "%max age of {_}%"
EXPRESSIONS

Invite Max Usage

Copy Link
Get either how many times an invite can be used, or set how many times an invite can be used inside the invite creation scope.
                [the] max (use[s]|usage)[s] of %invite%
%invite%'[s] max (use[s]|usage)[s]
                discord command rawr:
prefixes: /
trigger:
create invite to event-channel with event-bot:
set max uses of the invite to 5
set {_} to the invite
reply with "%max uses of {_}%"
EXPRESSIONS

Creation date of Invite

Copy Link
Get the time a discord invite was created.
                [the] [invite] creation date[s] of %invite%
%invite%'[s] [invite] creation date[s]
                discord command rawr:
prefixes: /
trigger:
create invite to event-channel with event-bot:
set max uses of the invite to 5
set {_} to the invite
reply with "%creation date of of {_}%"
EXPRESSIONS

Invite Url of

Copy Link
Get the Url of a Discord invite.
                [the] invite url[s] of %invite%
%invite%'[s] invite url[s]
                discord command invite:
prefixes: /
trigger:
create invite to event-channel:
set the max usage of the invite to 1
set {_} to the invite
reply with "Done! Created: %invite url of {_}%"
EXPRESSIONS

Retrieved Invites

Copy Link
Get the invites the retrieve invites effect retrieved.
                [the] last (grabbed|retrieved) invites
            
                discord command test:
prefixes: /
trigger:
retrieve the invites of event-guild
reply with "%last grabbed invites%"
EXPRESSIONS

Color of Role

Copy Link
Get the color of a role. This can be set to any color.
                [the] colo[u]r[s] of %roles%
%roles%'[s] colo[u]r[s]
                set the color of {_role} to red with event-bot
            
EXPRESSIONS

Guild Deafened State of Member

Copy Link
Get the deafened state of a member in a guild. If they are deafened by someone then this returns true. This will not be updated unless a user is in a voice channel when they are deafened.
                [the] [<guild>] deafen[ed] state[s] of %members%
%members%'[s] [<guild>] deafen[ed] state[s]
                on guild message receive:
reply with "%deafen state of event-user in event-guild%"
EXPRESSIONS

Join Date

Copy Link
Get the date a member joined a guild. If you append discord then it gets the date they joined discord, otherwise its the date they joined the guild if the input is a member and the discord join date for users.
                [the] [] join date[s] of %members/users%
%members/users%'[s] [] join date[s]
                reply with "%discord join date of event-user%"
            
EXPRESSIONS

Nickname of

Copy Link
Gets a member's nickname (guild sensitive name). You can set this expression.
                [the] discord nickname[s] of %members%
%members%'[s] discord nickname[s]
                set the discord nickname of event-member to "new nickname" with event-bot
            
EXPRESSIONS

Online status of

Copy Link
Get the online status of a user or a member. The online status can be set or reset for a bot.
                [the] [online][(-| )]status[s] of %members/users/bots/strings%
%members/users/bots/strings%'[s] [online][(-| )]status[s]
                set status of event-bot to do not disturb
            
EXPRESSIONS

Roles of Member

Copy Link
Get the roles that a member has in a guild. You can remove, add and set the roles.
                [the] role[s] of %members%
%members%'[s] role[s]
                remove role with id "6110981981981" from roles of event-member
            
EXPRESSIONS

Voice Channel of Member

Copy Link
Get the voice channel a member is in if they are in one.
                [the] [current] voice[(-| )]channel of %members%
%members%'[s] [current] voice[(-| )]channel
                join voice channel of event-member
            
EXPRESSIONS

Attachments of

Copy Link
Get the attachments of a message.
                [the] attachment[s] of %message%
%message%'[s] attachment[s]
                broadcast "%discord name of attachment of event-message%"
            
EXPRESSIONS

Attachment Height of

Copy Link
Get the height of an attachment
                [the] attachment height[s] of %attachment%
%attachment%'[s] attachment height[s]
                broadcast "%height of attachment of event-message%"
            
EXPRESSIONS

Attachment Url of

Copy Link
Get the URL of a message attachment.
                [the] attachment url[s] of %attachment%
%attachment%'[s] attachment url[s]
                broadcast "%attachment url of attachment of event-message%"
            
EXPRESSIONS

Attachment Width of

Copy Link
Get the width of an attachment
                [the] attachment width[s] of %attachment%
%attachment%'[s] attachment width[s]
                on guild message received:
set {_} to attachment of event-message
if {_} is set:
if {_} is an image:
reply with "its %attachment width of {_}% by %attachment height of {_}%"
EXPRESSIONS

Embed of Message Builder

Copy Link
Get the Embed of a Message Builder. You can set, delete and reset the embed.
                [the] embed[s] of %messagebuilders%
%messagebuilders%'[s] embed[s]
                discord command $build:
trigger:
make embed:
add field with value "Hey there this is an embed!" to the embed
set color of the embed to red
set {e} to a new message builder
set text of {e} to "Hey there%nl%"
set embed of {e} to last embed
append "Info for embed attached to this builder: %color of embed of {e}%"
to {e}
send {e} to event-channel with event-bot
EXPRESSIONS

Text of a message builder

Copy Link
Get the text inside of a message builder. Can be either set, reset, or deleted.
                [the] [] text[s] of %messagebuilders%
%messagebuilders%'[s] [] text[s]
                command /build:
trigger:
set {e} to a new message builder
set text of {e} to "Hey look at this"
broadcast "%text of {e}%"
EXPRESSIONS

Message Builder

Copy Link
Create a new MessageBuilder
                a [new] message builder
            
                set {e} to a new message builder
            
EXPRESSIONS

TTS of Message Builder

Copy Link
Get the TTS state of a Message Builder. The state can be set to true or false.
                [the] tts state[s] of %messagebuilders%
%messagebuilders%'[s] tts state[s]
                discord command $tts:
trigger:
set {_} to a new message builder
set tts state of {_} to true
send {_} to event-channel with event-bot
reply with "done?"
EXPRESSIONS

Reactions of Message

Copy Link
Get the reactions of a message. Can be deleted, reset, removed and added to.
                [the] reactions[s] of %messages%
%messages%'[s] reactions[s]
                on guild message receive:
add reactions "smile" and "frowning" to reactions of event-message
EXPRESSIONS

Author of Message

Copy Link
Get the author of a message
                [the] [discord] author[s] of %messages%
%messages%'[s] [discord] author[s]
                author of event-message
            
EXPRESSIONS

Content of Message

Copy Link
Get the content of a Message. The content can be set and deleted.
                [the] [] content[s] of %messages%
%messages%'[s] [] content[s]
                content of event-message
            
EXPRESSIONS

Jump URL of Message

Copy Link
Get the direct jump url to a message.
                [the] jump url[s] of %message%
%message%'[s] jump url[s]
                
            
EXPRESSIONS

Last retrieved Message

Copy Link
Get the last retrieved message called from the retrieve message effect. Cleared every time the retrieve message effect is used.
                last retrieved [discord] message
            
                set {_message} to last retrieved message
            
EXPRESSIONS

Mentioned Channels

Copy Link
Get the mentioned Channels in a Message
                [the] mentioned channel[s] of %messages%
%messages%'[s] mentioned channel[s]
                set {_var::*} to event-message's mentioned channels
            
EXPRESSIONS

Mentioned Roles

Copy Link
Get the mentioned Roles in a Message
                [the] mentioned role[s] of %messages%
%messages%'[s] mentioned role[s]
                set {_var::*} to event-message's mentioned roles
            
EXPRESSIONS

Mentioned Users

Copy Link
Get the mentioned Users in a Message
                [the] mentioned user[s] of %messages%
%messages%'[s] mentioned user[s]
                set {_var::*} to event-message's mentioned users
            
EXPRESSIONS

Timestamp of

Copy Link
Returns the timestamp of either a message or an embed. You can set the time of an embed to any date (e.g. now).
                [the] (timestamp|date)[s] of %embedbuilders/messages%
%embedbuilders/messages%'[s] (timestamp|date)[s]
                set the timestamp of {_embed} to now

# You can also set it to a date in the past/future like this

set {_thePast} to now
subtract 5 days from {_thePast}
set the timestamp of {_embed} to {_thePast}
EXPRESSIONS

Channel with ID

Copy Link
Grabs a channel by its ID
                channel with id %string% [in %-guild%]
            
                broadcast "%name of channel with id ""6515615645451561""%
            
EXPRESSIONS

Voice Channel with ID

Copy Link
Get a Voice channel by it's ID, can include the Guild it is in for faster results.
                voice(-| )channel with id %string% [in %-guild%]
            
                discord command topic  :
usage: topic
prefixes: $
trigger:
set name of voice channel with id arg-1 to arg-2 with event-bot
EXPRESSIONS

Guild Named

Copy Link
Get all the guilds with a certain name that vixio can find.
                guild[s] named %string%
            
                set {_var::*} to guilds named "Vixio"
            
EXPRESSIONS

Guild with ID

Copy Link
Get a Guild via it's ID
                (server|guild) with id %string%
            
                broadcast name of guild with id "16165192162168461"
            
EXPRESSIONS

User in Guild

Copy Link
Returns the member form of a user in the specified guild
                %user% in %guild%
            
                broadcast nickname of user with id "1561515615610515" in event-guild
            
EXPRESSIONS

Role with ID

Copy Link
Get a Role via it's ID. You may get the id of a role by either making the role mentionable and typing @rolename or by looping the roles of the guild and finding it by name. You could also use the `role named` syntax to retrieve the role outright.
                role with id %string% [in %-guild%]
            
                add role with id "5151561851" to roles of event-user in event-guild
            
EXPRESSIONS

User with ID

Copy Link
Get a User via their ID.
                user with id %string%
            
                broadcast name of user with id "456145141891891"
            
EXPRESSIONS

Mentionable State of Role

Copy Link
Tell if a role can be publicly mentioned, can be set to true or false
                [the] mentionable state[s] of %roles%
%roles%'[s] mentionable state[s]
                reply with "%mentionable state of role with id ""55416516516516""%
            
EXPRESSIONS

Duration of Track

Copy Link
Get the duration of a track. This is how long it is.
                [the] duration[s] of %tracks%
%tracks%'[s] duration[s]
                broadcast "%duration of track event-bot is playing%"
            
EXPRESSIONS

Identifier of Track

Copy Link
Get a track's identifier, this is the unique ID given to it by the hosting site.
                [the] identifier[s] of %tracks%
%tracks%'[s] identifier[s]
                broadcast "%identifier of track event-bot is playing%"
            
EXPRESSIONS

Last Loaded Audio Track

Copy Link
Get the last track a bot has loaded. This does not mean the track the bot is playing.
                [the] last loaded [audio] track [of %bot/string%] [in %guild%]
            
                reply with "%the last loaded track%"
            
EXPRESSIONS

Position of Track

Copy Link
Get the position a track is at. This is the current play time the track is at.
                [the] position[s] of %tracks%
%tracks%'[s] position[s]
                broadcast "%position of track event-bot is playing%"
            
EXPRESSIONS

Author of Track

Copy Link
Get a track's author. This is the creator of the source.
                [the] author[s] of %tracks%
%tracks%'[s] author[s]
                broadcast "%author of track event-bot is playing%"
            
EXPRESSIONS

Url of Track

Copy Link
Get a track's url.
                [the] ur(i|l)[s] of %tracks%
%tracks%'[s] ur(i|l)[s]
                broadcast "%url of track event-bot is playing%"
            
EXPRESSIONS

Avatar of User

Copy Link
Get either the user's custom avatar or their default one that discord gave them. You can extract the id from the url using the ID expression.
                [the] [discord] [] avatar[s] of %users/bots/strings/member%
%users/bots/strings/member%'[s] [discord] [] avatar[s]
                discord command $info :
trigger:
reply with "%avatar of arg-1%"
EXPRESSIONS

Bot State Of User

Copy Link
Check if a user is a bot or not.
                [the] bot state[s] of %users%
%users%'[s] bot state[s]
                set {var} to bot state of event-user
            
EXPRESSIONS

Discriminator of User

Copy Link
Get the discriminator of a user, this is the four numbers after a users name.
                [the] discriminator[s] of %users%
%users%'[s] discriminator[s]
                discord command $info :
trigger:
reply with "%discriminator of arg-1%"
EXPRESSIONS

Game of User

Copy Link
Get the game of a user. You may use this to set a bots game, this will set it as Playing: <whatever you input>. Use the mark as gametype effect to use the other types.
                [the] game[s] of %members/users/bots/strings%
%members/users/bots/strings%'[s] game[s]
                discord command $info :
trigger:
reply with "%game of arg-1%"
EXPRESSIONS

New Line

Copy Link
Get a newline, which means skips to a new line
                ([a] new line|nl)
            
                discord command $nl:
trigger:
set {_m} to a message builder
append "Hey!" to {_m}
append "%nl%" to {_m}
append "There!"
to {_m}
reply with {_m}
EXPRESSIONS

Zero width space

Copy Link
Get a zero width space
                [a] zero width space
            
                append zero width space to {_messageBuilder}
            


EVENTS

Discord Command

Copy Link
Vixio's custom Discord command system
                discord command <([^s]+)( .+)?$>
            
                discord command cmd :
prefixes: "hey "
"%mention tag of event-bot% "
##
aliases: info
user
roles: Dev
description: Get some information about a user
usage: hey info
bots: {@bot}
executable in: guild
trigger:
set {_} to a message builder
append line "-=Who is %name of arg-1%=-"
append line "Name: %name of arg-1%"
append line "ID: %id of arg-1%"
append line "Mention tag: %mention tag of arg-1%"
append line "Status: %online status of arg-1%"

reply with {_}
EVENTS

Track end

Copy Link
Fired when a song a bot is playing ends.
                track end [seen by %-string%]
            
                on track end seen by "Jewel"
            
EVENTS

Track Seek

Copy Link
Fired when the position of a track a bot is playing is changed. This is when it is manually changed, via set position.
                track seek [seen by %-string%]
            
                on track seek seen by "Jewel"
            
EVENTS

Track start

Copy Link
Fired when a song starts. May be when a new track in the queue starts or when the first track is played.
                track start [seen by %-string%]
            
                on track start seen by "Jewel"
            
EVENTS

Reaction Add

Copy Link
Fired when a reaction is added to a message
                reaction add[ed] [seen by %-string%]
            
                on reaction add:
            
EVENTS

Vixio Command

Copy Link
Used to detect when a specific vixio command is fired
                vixio command [%-string%]
            
                on vixio command "eval":
            
EVENTS

Guild Message Received

Copy Link
Fired when a message is sent in a text channel that the bot can read.
                (guild|server) message (receive[d] [seen]| sent) [by %-string%]
            
                on guild message received seen by "a bot":
            
EVENTS

Voice Join

Copy Link
Fired when a user joins a voice channel
                user join voice [seen by %-string%]
voice [channel] join [seen by %-string%]
                on voice channel join:
            
EVENTS

Voice Leave

Copy Link
Fired when a user leaves a voice channel
                user leave voice [seen by %-string%]
voice [channel] leave [seen by %-string%]
                on voice channel leave:
            
EVENTS

Private Message

Copy Link
Fired when a private message is received or sent.
                (private message|direct message) seen)?|sent> [by %-string%]
            
                on direct message received:
            
EVENTS

Reaction Remove

Copy Link
Fired when a reaction is removed from a message
                reaction remove[d] [seen by %-string%]
            
                on reaction remove:
            
EVENTS

Bot Join Guild

Copy Link
Fired when a bot joins a new guild.
                bot (join|enter) [new] guild [seen by %-string%]
            
                on bot join guild
            
EVENTS

Bot Leave Guild

Copy Link
Fired when a bot leaves a guild. This could be caused by getting kicked or just naturally leaving.
                bot (leave|exit) guild [seen by %-string%]
            
                on bot leave guild:
            
EVENTS

User Banned

Copy Link
Fired when a user is banned from a guild.
                user ban[ned] [seen by %-string%]
            
                on user banned:
            
EVENTS

User Unbanned

Copy Link
Fired when a user is unbanned from a guild.
                user unban[ned] [seen by %-string%]
            
                on user unbanned:
            
EVENTS

Role Added

Copy Link
Fired when a Member receives a new role or roles. You can use the `the roles` expression to get all the roles.
                member role add[ed] [seen by %-string%]
            
                on member role add:
            
EVENTS

Member Switch Voice Channel

Copy Link
Fired when a member switches voice channels.
                member (switch|move) [voice] channel [seen by %-string%]
            
                on member switch voice channel:
broadcast "%event-user% left %old channel% and joined %new channel%"
EVENTS

Guild Join

Copy Link
Fired when a user joins a guild
                (user|member) join (guild|server) [seen by %-string%]
            
                on member join guild:
            
EVENTS

Guild Leave

Copy Link
Fired when a user leaves a guild. Could be caused by kicking them or them leaving on their own free will.
                (guild|member) leave (guild|server) [seen by %-string%]
            
                on member leave guild:
            
EVENTS

Nickname Change

Copy Link
Fired when a member changes their nickname.
                [member] nick[name] (change|update) [seen by %-string%]
            
                on nickname update:
            
EVENTS

Role Removed

Copy Link
Fired when a Member has a role or roles removed from them. You can use the `the roles` expression to get all the roles.
                member role remove[d] [seen by %-string%]
            
                on member role remove:
            
EVENTS

Message Deleted

Copy Link
Fired when a message is deleted
                message delete[d] [seen by %-string%]
            
                on message deleted
            
EVENTS

Message Received

Copy Link
Fired when a message is received anywhere, either a private message or a text channel
                message receive[d] [seen by %-string%]
            
                on message received: