package
0.0.0-20200517224846-e66453b957c1
Repository: https://github.com/necroforger/dgrouter.git
Documentation: pkg.go.dev

# README

Disgordrouter

This is a command router using a context for the disgord library. It functions the same as the exrouter package.

# Functions

New returns a new router wrapper.
NewContext returns a new context from a message.
ParseArgs parses command arguments.
UnwrapHandler unwraps a handler.
WrapHandler wraps a dgrouter.HandlerFunc.
WrapMiddleware ...

# Structs

Context represents a command context.
Route wraps dgrouter.Router to use a Context.

# Type aliases

Args is a helper type for dealing with command arguments.
HandlerFunc ...
MiddlewareFunc is middleware.