Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var InitTime time.Time
InitTime contains the exact time the bot was completely restarted
View Source
var Module = &module.Module{ Name: "metacmd", Commands: []*drc.Command{ hello, invite, cList, ping, uptime, }, DgoHandlers: []interface{}{ onReady, }, OpenFunc: func(m *module.Module) error { InitTime = time.Now().UTC() if !m.ConfigFound { config.Invite = "No invite set" } return nil }, Config: &config, }
Module contains stuff (bug me to fix comments later)
View Source
var ReadyTime time.Time
ReadyTime contains the time of the last onready event
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.