mirror of
https://github.com/diamondburned/arikawa.git
synced 2025-11-29 15:56:48 +00:00
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 | ||