From 23282b94dafea4eff6f03c1001b86ff6b55472b0 Mon Sep 17 00:00:00 2001 From: m15o Date: Fri, 25 Feb 2022 18:46:46 +0100 Subject: [PATCH] Add emoji --- web/handler/tpl.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/handler/tpl.go b/web/handler/tpl.go index 2e9814c..82de0a4 100644 --- a/web/handler/tpl.go +++ b/web/handler/tpl.go @@ -16,7 +16,7 @@ func (h *Handler) initTpl() { for name, content := range TplMap { views[name] = template.Must(template.New("main").Funcs(template.FuncMap{ "faces": func() []string { - return []string{"🙂", "😎", "😛", "🥰", "😂", "❤️", "👽", "😱", "🤔", "😯", "🤒", "😡", "🥺", "🥳", "🤖", "💀", "😴", "😭", "🤐", "💾", "👀", "☕", "🍺", "📖", "🔥", "❄️", "✨", "💡", "🎶", "✈️", "🚄", "🍿", "📰", "✏️", "🍱", "⛵", "🎁", "🌧️", "🌙", "🎨", "📺", "🍕", "✅", "🐶", "🐱"} + return []string{"🙂", "😎", "😛", "🥰", "😂", "❤️", "👽", "😱", "🤔", "😶", "😯", "🤒", "😡", "🥺", "🥳", "🤖", "💀", "😴", "😭", "🤐", "💾", "👀", "☕", "🍺", "📖", "🔥", "❄️", "✨", "💡", "🎶", "✈️", "🚄", "🍿", "📰", "✏️", "🍱", "⛵", "🎁", "🌧️", "🌙", "🎨", "📺", "🍕", "✅", "🐶", "🐱"} }}).Parse(commonTemplates + content)) } }