Documentation ¶
Index ¶
- Constants
- func AddRespec(user *types.User, channel *types.Channel, rating int) int
- func GetRespec(channel *types.Channel, scope types.Scope) (Leaderboard string, negativeUsers []string)
- func InitRatings()
- func RespecMessage(message *types.Message) int
- func RespecOther(user *types.User, channel *types.Channel, rating int) (added int)
- type Rule
Constants ¶
View Source
const ( CorrectUsageValue = 2 MentionValue = 3 OtherValue = 2 )
Variables ¶
This section is empty.
Functions ¶
func GetRespec ¶
func GetRespec(channel *types.Channel, scope types.Scope) (Leaderboard string, negativeUsers []string)
show 10 most RESPEC peep
func InitRatings ¶
func InitRatings()
Types ¶
Click to show internal directories.
Click to hide internal directories.