v3.1.0
A new version for Velen which includes one behavioral-breaking change for message commands that uses choices, as for the release notes, here are what we added for this week:
- Added support for slash command indexing, allowing server-specific commands to no longer conflict with slash commands and also increasing performance for slash commands. You can read more @ https:/ShindouMihou/Velen/wiki/Building-Commands!#-indexing-slash-commands
- Fixed an issue with
VelenInviteBuilder
that usedscopes
instead ofscope
for the URL paramater. - 🔴 Key-values are now enforced for message commands, allowing hybrid commands to be closer to their slash command counterparts. What this means is instead of the previous
[choiceOne, choiceTwo, choiceThree]
choices for Velen, it now uses a key-value pair akin to slash commands:[choiceName, choiceValue]
. - 🔴 Removed deprecated
getCommandIgnoreCasing
method. - Add additional support for observeServer(Velen, Server) and
observeAllServer(Velen, DiscordApi... shards)
in VelenObserver.