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.
This repository has been archived by the owner on Oct 17, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
(Unmaintained) Abstraction layer to help with handling slash commands in Serenity
License
squili/serenity-slash-decode
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
(Unmaintained) Abstraction layer to help with handling slash commands in Serenity
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published