Skip to content
This repository has been archived by the owner on Oct 17, 2022. It is now read-only.

(Unmaintained) Abstraction layer to help with handling slash commands in Serenity

License

Notifications You must be signed in to change notification settings

squili/serenity-slash-decode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Serenity Slash Decode

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.

About

(Unmaintained) Abstraction layer to help with handling slash commands in Serenity

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages