Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func AddModule ¶
func AddModule(triggerType string, handler func(ircmessage.Message))
func LoadConfig ¶
func LoadConfig()
func PassToModules ¶
func PassToModules(msg ircmessage.Message)
Types ¶
type Bot ¶
type Bot struct {
// contains filtered or unexported fields
}
func (*Bot) Disconnect ¶
func (bot *Bot) Disconnect()
func (*Bot) SendCommand ¶
func (*Bot) SendMessage ¶
type Channelsetting ¶
type ConfStruct ¶
type ConfStruct struct { Nick string Server string Port int TLS bool Channels struct { Autojoin []string Blacklist []string } Admins []string Ignored []string Chan map[string]Channelsetting FloodControl struct { Invite FloodSetting Link FloodSetting Reply FloodSetting } }
var Config ConfStruct
type FloodSetting ¶
Click to show internal directories.
Click to hide internal directories.