DiSky by SkyCraft78

The best addon providing supports of Discord Bots.

















Automod Creation is here! 90 days, 8 hours and 45 minutes ago

Hello there
This pre-release update introduces support for **creating and editing auto-moderation rules**, supporting triggers, filters, and more!

> ⚠️ I am a bit overbooked lately, so the second part of this update (including managing already-created rules) will come later on, sorry!

**AutoMod Documentation:** <https://disky.me/wiki/basic-stuff/automod/>

View Update

Scheduled events, bugfixes and much more! 266 days, 7 hours and 40 minutes ago


DiSky is an addon of Skript allowing the management of a Discord robot in this language. Send messages with components, files, or embeds, set up slash commands, interact with members, and more with DiSky!


Getting Started
Anyone can start using DiSky, you need to have some basic English. A wiki refers to small tutorials on how to create your robot and link it and some DiSky features such as messages or slash commands. The documentation lists the syntaxes available to create your own code and customize your robots as you wish!

While this page and the GitHub link to the latest version (4th generation), DiSky is available for Minecraft 1.12 and - with Skript 2.5 and - under its 3rd generation. You will not receive any support when using it though!

View Update

4.1.1 451 days, 13 hours and 10 minutes ago

- finally Fixed permissions of property, where adding one was clearing the others
- Fixed discord command XXX: scope were hiding Skript errors

- Fixed documentation for roles of and permissions of properties
- Added documentation for open private channel effect

✨ - Added way to get emote's name (discord name of %emote%)
✨ - Added suppress reaction effect (remove reactions from message)

View Update

4.1.0 455 days, 14 hours and 37 minutes ago

Critical Changes:

  • mentioned channels -> mentioned text channels (In favor of mentioned voice channels)
  • value of component with id -> value of dropdown with id OR values of text input with id (in favor of values returned by the select menus)
  • guild emojis -> guild emojis en stickers (intent)

⚠️ We also highly discourage people to use using bot XXX part of any effect/expression where it remains. Please, use the Specific Bot Effect instead (https://skripthub.net/docs/?id=7320)

✨ New Features:

  • mentioned voice channels property, to get the mentioned voice channels of a message.
  • You can now add Dropdown (through a new components row as always) to modals. To get the selected values, simply use values of dropdown with id "your-dropdown-id"
  • Added event-voicechannel in any message event (in favor of voice-textchannel IDK how to call them)

‍ Internal Changes:

Full Changelog: 4.0.1...4.1.0

View Update

Critical Bugfix + Wrong Import fix 457 days, 18 hours and 3 minutes ago

This small release provide a fix for the critial issue concrning Types.
The AudioChannel's type was registered with the same codename as MessageChannel's.
Also, two expression was using the jdk.craft.Name annotation for the documentation, instead of the Skript's one.

View Update

DiSky V4.0.0 Release 457 days, 18 hours and 33 minutes ago

Please, take the time to read all of that. Yes, it's long, but think about the fact that it couldn't be as long as me writing this!

Hello to all of you!
I hope you have a good afternoon :D
I'm happy to announce, although a few days late, the initial release of DiSky V4!

Of course, many of you are already using the alpha & beta versions, but this marks a new era with DiSky, as there are many changes in addition to those in DiSky itself:

  • Support for DiSky v3 is definitely over. Get up to date!
  • Documentation is available on skUnity, SkriptHub and my own site (https://disky.tech/docs/)
  • A wiki is under construction, which will integrate all the features (hopefully in the near future, for now there are only basic tutorials.), available at: https://disky.tech/wiki/
  • Updates will be more regular. Being a stable version, it forces me to make constant updates in order to guarantee the stablity of DiSky (poor me)

What's next?
Lots of new features are coming:

Before suggesting a new feature that Discord just made, check JDA's pull request (just the PR's name) and see if there's one opened. If there's none, i won't be able to add it myself yet.

I would like to thank all the contributors and those who have always supported DiSky since the beginning. As a reminder, DiSky was just a small personal project to offer a simple and easy alternative to Vixio. We've come a long way together, DiSky is bigger than ever, and it won't stop growing! Thank you very much for your support and I sincerely hope that DiSky will fulfill your desires as we move forward with updates.

DiSky is (finally) available on the skUnity forum as a resource. It will soon be available on Spigot, but in the meantime, feel free to put a review (positive or not, as long as it's constructive), and if you like DiSky, 5 stars! As a reminder, DiSky is not maintained by a big group of people, and this big project is based on volunteer work! Don't hesitate to boost this server to show your support, without spending any extra money!

Full Changelog: 4.0-beta4...4.0.0

View Update

DiSky - Create your own Discord bot easily! 457 days, 18 hours and 33 minutes ago

DiSky is a Skript addon, which allows you to create, manage and edit Discord's bots.
It provides more than 400 different syntaxes, such as:

  • Creating entities (roles, channels, categories, etc.)
  • Editing existing entities
  • Send advanced messages with embeds, components, or attachments
  • Several's utilities syntaxes to let developers make their bot faster and easier.
  • It fully supports Slash commands, including option types, sub-commands, groups, and auto-completion arguments.
  • And much, much more!

  • Skript 2.6.0 or higher
  • Spigot/Paper/Any fork of them 1.13.0 or higher

[QUOTE]Note: Even if DiSky is based only on Skript, some features require Bukkit's or Spigot's API. The 1.13+ version is a more recommended version than a requirement.[/QUOTE]

  • DiscordSRV (it uses an older version of JDA that DiSky is not based on)
  • any other JDA-compiled plugin doesn't have JDA 5 as JDA version.

[QUOTE]This has to be put OUTSIDE any triggers! (not inside an 'on load' for example)[/QUOTE]

define new bot named "My Bot":
token: "ultra-private-token"
intents: default intents
on guild ready:
send "I'm ready to serve %event-guild% sir!" to console

send "Setting up commands..." to console
set {_cmd} to new slash command named "test" with description "Test command"

add new required string option named "argument" with description "example argument" to options of {_cmd}
add new integer option named "pls" with description "example optional number argument" to options of {_cmd}

update {_cmd} locally in event-guild

on ready:
send "Hello world, the bot has been loaded and is ready to use!" to console

discord command components:
prefixes: !
set {_buttons} to new components row
add new link button with url "http://disky.itsthesky.info/" named "DiSky Website" with reaction "smile" to components of {_buttons}
add new danger button with url "button-id-here" named "Dangerous!" with reaction "joy" to components of {_buttons}
add new success button with url "cant-have-two-same-id" named "Green :D" with reaction "disky" to components of {_buttons}
add new disabled secondary button with url "no-space-allowed-either" named "I'm disabled" with reaction "sob" to components of {_buttons}

set {_dropdownRow} to new components row
set {_dropdown} to new dropdown with id "unique-id-here-too"

set min range of {_dropdown} to 1
set max range of {_dropdown} to 2

add new option with value "value" named "First Choice" with description "The first and NOT default choice of the dropdown" with reaction "smile" to options of {_dropdown}

add new default option with value "value-2" named "Second Choice" with description "This one is selected by default!" with reaction "wave" to options of {_dropdown}
add new option with value "value-3" named "Third Choice" with description "You only can select one or two choice, not more!" with reaction "joy" to options of dropdown
add new option with value "value-4" named "Fourth Choice" with description "And yes, custom emote are also supported :D" with reaction "disky" to options of {_dropdown}
add new option with value "value-5" named "Fifth Choice" with description "Each option have a name, description and emote." with reaction "rocket" to options of {_dropdown}
add new option with value "value-6" named "Sixth Choice" with description "Choices? You can have up to 25 per dropdown!" with reaction "zap" to options of {_dropdown}
add new option with value "value-7" named "Seventh Choice" with description "Also limited with 50 characters per description." with reaction "ice_cube" to options of {_dropdown}

add {_dropdown} to components of {_dropdownRow}

reply with "*Components ...*" with components {_buttons} and {_dropdownRow}

on button click:
set {_id} to event-string # get back the unique ID defined above.
{_id} is "button-id-here", "cant-have-two-same-id" or "no-space-allowed-either"

defer the interaction # avoid the 'interaction failed' message

on dropdown click:
set {_id} to event-string # get back the unique ID defined above.
{_id} is "unique-id-here-too"

reply with "Selected values: %selected values%" # replying will defer the interaction

View Update

© Copyright 2014-2023 skUnity

All rights reserved.