mirror of
https://github.com/diamondburned/arikawa.git
synced 2024-11-30 10:43:30 +00:00
181dcb1bdd
This commit introduces a slash commands and autocompletion router. It abstracts the switch-cases that the user has to do in each InteractionEvent handler away. The router is largely inspired by go-chi's design. Refer to the tests for examples. |
||
---|---|---|
.. | ||
fntypes.go | ||
middlewares.go | ||
router.go | ||
router_test.go |