diff --git a/plugins/emojifyme/emojifyme.go b/plugins/emojifyme/emojifyme.go index e7d244a..26b5b72 100644 --- a/plugins/emojifyme/emojifyme.go +++ b/plugins/emojifyme/emojifyme.go @@ -78,7 +78,8 @@ func (p *EmojifyMePlugin) Message(message msg.Message) bool { for _, c := range candidates { if strings.Contains(msg, " "+c+" ") || strings.HasPrefix(msg, c+" ") || - strings.HasSuffix(msg, " "+c) { + strings.HasSuffix(msg, " "+c) || + msg == c { emojys = append(emojys, v) if !stringsContain(inertTokens, k) && len(v) > 2 { emojied += 1