Skip to content
Snippets Groups Projects
Verified Commit eade0ff8 authored by Réthelyi Bálint's avatar Réthelyi Bálint :no_mouth:
Browse files

big

parent 8dac6b1f
No related branches found
No related tags found
No related merge requests found
...@@ -121,8 +121,10 @@ func msgHandler(w http.ResponseWriter, r *http.Request) { ...@@ -121,8 +121,10 @@ func msgHandler(w http.ResponseWriter, r *http.Request) {
str := buf.String() str := buf.String()
if str != "" { if str != "" {
str = "**Sus szavak:**\n\n" + str str = "<h1>Sus szavak</h1>\n\n" + str
msg := tgbotapi.NewMessage(chanId, str) msg := tgbotapi.NewMessage(chanId, "")
msg.ParseMode = "html"
msg.Text = str
_, e = DefaultBot.Send(msg) _, e = DefaultBot.Send(msg)
if e != nil { if e != nil {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment