package
Version:
v1.7.1
Opens a new window with list of versions in this module.
Published: Oct 8, 2018
License: MIT
Opens a new window with license information.
Imports: 9
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.