mirror of
https://github.com/diamondburned/arikawa.git
synced 2024-11-28 01:33:10 +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 |