The highest tagged major version is
v2.
package
Version:
v0.29.1
Opens a new window with list of versions in this module.
Published: May 23, 2018
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func AddHandler(evt string, cb func(*Event), t interface{})
AddEventHandler adds a event handler
For the specified event, should only be done during startup
PublishEvent publishes the specified event
type Event struct {
TargetGuild string
TargetGuildInt int64
EventName string
Data interface{}
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.