Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Discord ¶
type Discord struct {
// contains filtered or unexported fields
}
Discord .. Every module will need to pass around this struct to add Message
func NewDiscord ¶
NewDiscord returns a Discord Client Default prefix: !
func (*Discord) Close ¶
func (d *Discord) Close()
Close shuts down the websocket connection to Discord
func (*Discord) InitHandlers ¶
func (d *Discord) InitHandlers()
InitHandlers adds all handlers to the discord session
func (*Discord) InitModules ¶
func (d *Discord) InitModules()
InitModules registers a handler to the bot. Only when the prefix is present
Click to show internal directories.
Click to hide internal directories.