DiSky • Manage Discord with Skript!

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

SkyCraft78

New Member
May 18, 2019
3
7
3
France, Yvelines
itsthesky.info
9jvb.jpg

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.

ntwm.jpg


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
You can create your own slash commands, with the same options that Discord provides. Perform actions following their execution and retrieve the arguments!
  • Category & Role scope
You can create categories and roles directly through DiSky. Change their color, their permissions, etc...
Vixio didn't support this feature much, although it was important to me.

  • Others
You can get the color of a member, its highest role, use roles and categories in command arguments, or get the ping and/or uptime of one of your loaded bot!

hphi.jpg


Here are some examples of what DiSky can do, and the new features in operation:

  • Slash Command
  • "Who Is" Command
Code:
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
Result:
View attachment 5939



    • Full Embed example (with all possible settings)
Code:
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
Result:
View attachment 5940
f6lc.jpg

 
Good plugin. But could use better documentation and some of the stuff just doesn’t work like reactions and buttons. I mean the front page says the starting bot execution wrong with no waiting 10 seconds.