Documentation
¶
Index ¶
- type Bot
- func (bot *Bot) AutoVoice(event *irc.Event)
- func (bot *Bot) Connect() error
- func (bot *Bot) InitCallbacks() error
- func (bot *Bot) JoinChannels(event *irc.Event)
- func (bot *Bot) Quit()
- func (bot *Bot) ReclaimNick(event *irc.Event)
- func (bot *Bot) RunBuiltinCommands(event *irc.Event)
- func (bot *Bot) SetBotState(event *irc.Event)
- func (bot *Bot) ShowCommandHelp(source, nick, cmd string)
- func (bot *Bot) ShowCommandList(source, nick string)
- func (bot *Bot) VoiceAll(event *irc.Event)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bot ¶
type Bot struct { Quitted chan bool // contains filtered or unexported fields }
func (*Bot) AutoVoice ¶
func (bot *Bot) AutoVoice(event *irc.Event)
Automatically give voice to users in channels in which the bot has Op
func (*Bot) InitCallbacks ¶
func (*Bot) JoinChannels ¶
func (bot *Bot) JoinChannels(event *irc.Event)
Function for re-joining channels
func (*Bot) ReclaimNick ¶
func (bot *Bot) ReclaimNick(event *irc.Event)
Handler for reclaiming a stolen nick
func (*Bot) RunBuiltinCommands ¶
func (bot *Bot) RunBuiltinCommands(event *irc.Event)
func (*Bot) SetBotState ¶
func (bot *Bot) SetBotState(event *irc.Event)
Function for setting up the botstate
func (*Bot) ShowCommandHelp ¶
Print out the commands available
func (*Bot) ShowCommandList ¶
Print out the commands available
Click to show internal directories.
Click to hide internal directories.