From bc0784dabf7fd8a855bbbe6fa8a4797e9fc9d92d Mon Sep 17 00:00:00 2001 From: idanoo Date: Sun, 20 Nov 2022 19:10:26 +1300 Subject: [PATCH] Formatting --- main.go | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/main.go b/main.go index fe64e49..2da10b6 100644 --- a/main.go +++ b/main.go @@ -67,17 +67,14 @@ func handler(w http.ResponseWriter, r *http.Request) { if i.Event == "report.created" { err = sendWebhook( fmt.Sprintf( - "[New Report](%s): %s has reported %s for %s", + "[New Report](%s): *%s* has reported *%s*: %s", fmt.Sprintf( "https://mastodon.nz/admin/reports/%s", i.Object.ID, ), i.Object.Account.Username, i.Object.TargetAccount.Username, - fmt.Sprintf( - "Comments: %s", - i.Object.Comment, - ), + i.Object.Comment, ), ) if err != nil {