Documentation ¶
Overview ¶
package smileystats provides plugin to calculate usage statistics of emoticons
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SmileyStats ¶
type SmileyStats struct {
// contains filtered or unexported fields
}
SmileyStats is struct which represents plugin configuration
func NewSmileyStats ¶
func NewSmileyStats(conn DB, blacklist map[string]string) *SmileyStats
NewSmileyStats returns set up instance of SmileyStats
func (*SmileyStats) GetInfo ¶
func (sm *SmileyStats) GetInfo() map[string]string
func (*SmileyStats) MessageCreate ¶
func (sm *SmileyStats) MessageCreate(s *discordgo.Session, m *discordgo.MessageCreate)
MessageCreate is method which triggers when message sent to discord chat
func (*SmileyStats) MessageReactionAdd ¶
func (sm *SmileyStats) MessageReactionAdd(s *discordgo.Session, mr *discordgo.MessageReactionAdd)
Click to show internal directories.
Click to hide internal directories.