mirror of https://github.com/velour/catbase.git
emojify: flipped lt
This commit is contained in:
parent
8795d956ff
commit
2aaf18518a
|
@ -80,7 +80,7 @@ func (p *EmojifyMePlugin) Message(message msg.Message) bool {
|
||||||
strings.HasPrefix(msg, c+" ") ||
|
strings.HasPrefix(msg, c+" ") ||
|
||||||
strings.HasSuffix(msg, " "+c) {
|
strings.HasSuffix(msg, " "+c) {
|
||||||
emojys = append(emojys, v)
|
emojys = append(emojys, v)
|
||||||
if !stringsContain(inertTokens, k) || len(v) > 2 {
|
if !stringsContain(inertTokens, k) && len(v) > 2 {
|
||||||
emojied += 1
|
emojied += 1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue