DiSky is a brand new Skript addon, allowing the integration of Discord into Skript. It is a complete re-fork of Vixio, being out of date at the moment. In addition to being up to date DiSky offers new features such as the creation of categories, roles or even interaction with slash commands. DiSky also includes the old Vixio command system, with new entries such as the necessary permissions or the type of command. All the old bugs found in Vixio are of course fixed, mainly the Async system, which removed local variables.
Inspired by Vixio, DiSky is however recoded from 0 with better performance and the use of the latest version of the Discord API, JDA 4.
Moreover, async is fixed, which will no longer remove local variables in the use of DiSky syntaxes.
Here is a small list of the new features that DiSky offers compared to Vixio:
- Slash Commands
- Category & Role scope
Vixio didn't support this feature much, although it was important to me.
- Others
Here are some examples of what DiSky can do, and the new features in operation:
- Slash Command
- "Who Is" Command
Code:
discord command whois [<member=%event-member%>]:
prefixes: !
executable in: guild
trigger:
make embed:
set title of embed to "Who is %discord name of arg-1% ?"
add "`•` Username: %discord name of arg 1%" to {_l::*}
add "`•` Nick: %discord nickname of arg 1%" to {_l::*}
add "`•` Tag: %tag of arg 1%" to {_l::*}
add "`•` Mention: %mention tag of arg 1%" to {_l::*}
add "`•` Mutual Guild: %size of mutual guild of arg 1%" to {_l::*}
set description of embed to join {_l::*} with nl
set thumbnail of embed to avatar of arg-1
set footer of embed to "Asked by %discord name of event-member%"
set color of embed to color of arg-1
set timestamp of embed to now
reply with last embed
View attachment 5939
- Full Embed example (with all possible settings)
Code:
discord command embed:
prefixes: !
trigger:
make embed:
set title of embed to "Title"
set description of embed to "Description%nl%The title leads to the URL, if given"
set author of the embed to "Author name (Can point to URL)"
set author icon of embed to "https://cdn.discordapp.com/emojis/825811394963177533.png?v=1"
set author url of embed to "https://www.youtube.com/watch?v=i33DB6R8YUY"
set colour of the embed to orange
add inline field named "Field Name" with value "Colour sets %nl%< that" to fields of embed
add inline field named "Field Name" with value "Color is a java Color%nl%Not a string" to fields of embed
add inline field named "Field Name" with value "Field value" to fields of embed
add field named "Non-inline field name" with value "The number of fields that can be shown on the same row is limited to 3, but is limited to 2 when an image is included" to fields of embed
set image of embed to "https://media.discordapp.net/attachments/237757030708936714/390520880242884608/8xAac.png?width=508&height=522"
set thumbnail of embed to "https://cdn.discordapp.com/emojis/825811394963177533.png?v=1"
set title url of embed to "https://www.crunchyroll.com/fr/tonikawa-over-the-moon-for-you"
set footer of embed to "Footer text"
set footer icon of embed to "https://cdn.discordapp.com/emojis/825811394963177533.png?v=1"
set timestamp of embed to now
reply with last embed
View attachment 5940