package
0.0.0-20220520035623-b6133e058d69
Repository: https://github.com/henesy/glenda.git
Documentation: pkg.go.dev

# README

dgMux

Discord Gophers

dgMux is a simple Discord message route multiplexer that parses a message and then executes a matching registered handler. dgMux can be used with Disgord or the DiscordGo library.

If you would like to help the Disgord or DiscordGo package please use this link to add the official DiscordGo test bot dgo to your server. This provides indispensable help to this project.

For help with this program or general Go discussion, please join the Discord Gophers chat server.

NOTE : This is an experimental package and it's likely to have large changes breaking it's API and compatibility with previous versions.

The goal with dgMux is to create a fairly straight forward and simple "command router" that can be added to any DiscordGo bot without much fuss. A secondary goal is to keep the route handlers as close to native DiscordGo handlers as possible. So that each example provided can be used by those just learning the DiscordGo API and easily integrated into their own projects.

Some inspiration was taken from the chi and httprouter routers when creating dgMux.