Hello there! This new release introduces many new features (mainly QoL) and bug fixes. It also adds a new **slash command structure** system, that's still in beta.
## 🐛 Bug Fixes
- Fixed/enhanced [`create invite` effect](https://disky.me/docs/docs/effects/#create-invite) as it doesn't support a Guild anymore
- Fixed the `emoji url` property's pattern to `[the] emo(te|ji) image [url]` (#196)
- Fixed arguments type parsed in the slash command event
## ✨ New Features
- Added `event-channel` in the [`user typing` event](https://disky.me/docs/docs/events/#on-user-online-status-event)
- Added [`on poll vote add`](https://disky.me/docs/docs/events/#on-poll-vote-add) and [`on poll vote remove`](https://disky.me/docs/docs/events/#on-poll-vote-remove) events (#192)
- Added [`on member kick`](https://disky.me/docs/docs/events/#on-member-kick) and [`on member ban`](https://disky.me/docs/docs/events/#on-member-ban) events (**read the docs for more info!**)
- Added `author` retrieve value of the [`on guild log entry create` event](https://disky.me/docs/docs/events/#on-guild-log-entry-create-event)
## 🚀 Slash Command Structure!
> ⚠️ This feature is still in beta, I don't recommend using it in production yet!
You can now create, register, and handle slash commands directly via a single **structure**! Here's a quick example:
```applescript
slash command ban <user="target"> [<string="reason">]:
description: Ban a user
arguments:
target: The user to ban
reason: The reason of the ban lmao
cooldown: 30 seconds
on cooldown:
if arg-2 is "cheatcode":
cancel event
stop
reply with "You still have to wait %remaining time% before using this command again!"
bot: disky
guilds: 937001799896956988
enabled for: manage server
trigger:
reply with "Banning %mention tag of arg-1% for `%arg-2%`"
```
### Learn more over the [wiki page](https://disky.me/docs/interactions/slash-structure/)!
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }