Documentation ¶ Index ¶ type Rage func New(threshold, period, speakers int, channel string, logger *logrus.Logger, ...) *Rage func (r *Rage) Detect(messageChannelID string, messageTimestamp string) error func (r *Rage) Post(messageChannelID string) error func (r *Rage) UserIsBot(userID string) (bool, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Rage ¶ type Rage struct { // contains filtered or unexported fields } func New ¶ func New(threshold, period, speakers int, channel string, logger *logrus.Logger, token string) *Rage func (*Rage) Detect ¶ func (r *Rage) Detect(messageChannelID string, messageTimestamp string) error func (*Rage) Post ¶ func (r *Rage) Post(messageChannelID string) error func (*Rage) UserIsBot ¶ func (r *Rage) UserIsBot(userID string) (bool, error) Source Files ¶ View all Source files rage.go Click to show internal directories. Click to hide internal directories.