mirror of https://github.com/velour/catbase.git
Fixed comment
This commit is contained in:
parent
4f5b0ebbda
commit
a20c323ac9
|
@ -77,7 +77,7 @@ func (p *EmojifyMePlugin) Message(message msg.Message) bool {
|
|||
}
|
||||
tokens[i] = ":" + token + ":"
|
||||
} else if strings.HasSuffix(token, "s") {
|
||||
//Check to see if we can strip the trailing "es" off and get an emoji
|
||||
//Check to see if we can strip the trailing "s" off and get an emoji
|
||||
temp := strings.TrimSuffix(token, "s")
|
||||
if _, ok := p.Emoji[temp]; ok {
|
||||
if !stringsContain(inertTokens, temp) {
|
||||
|
|
Loading…
Reference in New Issue