Skip to content
Snippets Groups Projects
Commit e3a6704f authored by Ophestra's avatar Ophestra
Browse files

remove the need to specify prefix in new

parent c39bb6cb
No related branches found
No related tags found
No related merge requests found
......@@ -8,9 +8,8 @@ import (
)
// New returns a command router.
func New(prefix string) *Multiplexer {
func New() *Multiplexer {
mux := &Multiplexer{
Prefix: prefix,
Categories: []*CommandCategory{AudioCategory, ExperienceCategory, ManualsCategory, MediaCategory, ModerationCategory, SystemCategory},
}
mux.EventHandlers = []interface{}{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment