Documentation ¶
Index ¶
- func CountCharacters(content string, mentions []*discordgo.User) int
- func InitCharactersByChannelTable(db *sql.DB)
- func InitCharactersByUserTable(db *sql.DB)
- func InitCharactersTable(db *sql.DB)
- func ProccessCharacters(message *discordgo.Message) map[string]int
- func UpdateCounters(message *discordgo.Message)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CountCharacters ¶
CountCharacters Counts the number of characters in a string
func InitCharactersByChannelTable ¶
InitCharactersByChannelTable Creates the charactersByChannel table
func InitCharactersByUserTable ¶
InitCharactersByUserTable Creates the charactersByUser table
func InitCharactersTable ¶
InitCharactersTable Creates the characters table
func ProccessCharacters ¶
ProccessCharacters Gets each individual character/emoji and updates unicode emoji uses
func UpdateCounters ¶
UpdateCounters Updates the counted characters
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.