After banging my head against a wall trying to get
slash commands to make sense in
Serenity, in addition to the impending
Discord intent changes, I decided to make a library
to help with easier parsing of command arguments. Inspired by Clap's ArgMatches
, you're able to
parse arguments in one call, match which function to execute for which interaction, and extract values from the
arguments. You're even able to use ?
s to exit early from your command's individual function.
forked from squili/serenity-slash-decode
-
Notifications
You must be signed in to change notification settings - Fork 0
Abstraction layer to help with handling slash commands in Serenity
License
mre/serenity-slash-decode
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Abstraction layer to help with handling slash commands in Serenity
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Rust 100.0%