package
Version:
v0.28.1
Opens a new window with list of versions in this module.
Published: Apr 3, 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.