From cad9d2a2990348f6cef531dbd4a6c81acd5211b5 Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Sun, 6 Oct 2019 21:49:04 -0400 Subject: [PATCH] let's try without the unicrud translation --- fun.go | 4 ++-- skulduggery.go | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/fun.go b/fun.go index e2a0b61..1e8ed17 100644 --- a/fun.go +++ b/fun.go @@ -67,8 +67,8 @@ func reverbolate(userid int64, honks []*Honk) { _, h.Oondle = handles(h.Oonker) } zap := make(map[*Donk]bool) - h.Precis = unpucker(h.Precis) - h.Noise = unpucker(h.Noise) + h.Precis = demoji(h.Precis) + h.Noise = demoji(h.Noise) h.Open = "open" if userid == -1 { if h.Precis != "" { diff --git a/skulduggery.go b/skulduggery.go index 1bc3684..a09a3df 100644 --- a/skulduggery.go +++ b/skulduggery.go @@ -99,6 +99,10 @@ func unpucker(s string) string { } s = re_alltheshitz.ReplaceAllStringFunc(s, fixer) + return demoji(s) +} + +func demoji(s string) string { s = re_moredumb.ReplaceAllString(s, ".") zw := false