Documentation
¶
Index ¶
- type BotHandler
- func (bh *BotHandler) AddCommandHandler(conn *irc.Conn, line *irc.Line)
- func (bh *BotHandler) AddTimeoutListHandler(conn *irc.Conn, line *irc.Line)
- func (bh *BotHandler) CommandHandler(conn *irc.Conn, line *irc.Line)
- func (bh *BotHandler) DeleteCommandHandler(conn *irc.Conn, line *irc.Line)
- func (bh *BotHandler) ListCommandsHandler(conn *irc.Conn, line *irc.Line)
- func (bh *BotHandler) SongHandler(conn *irc.Conn, line *irc.Line)
- func (bh *BotHandler) TimeoutHandler(conn *irc.Conn, line *irc.Line)
- func (bh *BotHandler) TweetHandler(conn *irc.Conn, line *irc.Line)
- func (bh *BotHandler) UpdateChannelGameHandler(conn *irc.Conn, line *irc.Line)
- func (bh *BotHandler) UpdateChannelStatusHandler(conn *irc.Conn, line *irc.Line)
- func (bh *BotHandler) UptimeHandler(conn *irc.Conn, line *irc.Line)
- type CommandMessage
- type Configuration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BotHandler ¶
type BotHandler struct { Config Configuration CommandsMap map[string]string CommandsStruct CommandMessage Tweet *anaconda.TwitterApi Twitch *twitch.TwitchApi Lastfm *lastfm.LastfmApi TimeoutList map[string]bool OpList map[string]bool Delay time.Time }
func (*BotHandler) AddCommandHandler ¶
func (bh *BotHandler) AddCommandHandler(conn *irc.Conn, line *irc.Line)
func (*BotHandler) AddTimeoutListHandler ¶
func (bh *BotHandler) AddTimeoutListHandler(conn *irc.Conn, line *irc.Line)
func (*BotHandler) CommandHandler ¶
func (bh *BotHandler) CommandHandler(conn *irc.Conn, line *irc.Line)
func (*BotHandler) DeleteCommandHandler ¶
func (bh *BotHandler) DeleteCommandHandler(conn *irc.Conn, line *irc.Line)
func (*BotHandler) ListCommandsHandler ¶
func (bh *BotHandler) ListCommandsHandler(conn *irc.Conn, line *irc.Line)
func (*BotHandler) SongHandler ¶
func (bh *BotHandler) SongHandler(conn *irc.Conn, line *irc.Line)
func (*BotHandler) TimeoutHandler ¶
func (bh *BotHandler) TimeoutHandler(conn *irc.Conn, line *irc.Line)
func (*BotHandler) TweetHandler ¶
func (bh *BotHandler) TweetHandler(conn *irc.Conn, line *irc.Line)
func (*BotHandler) UpdateChannelGameHandler ¶
func (bh *BotHandler) UpdateChannelGameHandler(conn *irc.Conn, line *irc.Line)
func (*BotHandler) UpdateChannelStatusHandler ¶
func (bh *BotHandler) UpdateChannelStatusHandler(conn *irc.Conn, line *irc.Line)
func (*BotHandler) UptimeHandler ¶
func (bh *BotHandler) UptimeHandler(conn *irc.Conn, line *irc.Line)
type CommandMessage ¶
type CommandMessage struct {
Commands []_commands
}
type Configuration ¶
type Configuration struct { Channel string ChannelAouth string Botname string Aouth string LastfmKey string LastfmSecret string LastfmUser string TwitterConsumerKey string TwitterConsumerSecret string TwitterAccessToken string TwitterAccessSecret string }
Configuration struct for the config file
Click to show internal directories.
Click to hide internal directories.