From d3f2bcbdcd88bab914681be3b3aaf5c89d5f8efc Mon Sep 17 00:00:00 2001 From: fade Date: Fri, 26 Aug 2022 15:03:00 -0400 Subject: [PATCH] fix spam --- bot.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/bot.go b/bot.go index c7ebfc3..8f0a8d8 100644 --- a/bot.go +++ b/bot.go @@ -98,15 +98,9 @@ func run_bot(Conf Config, DB string) { c.AccountUnblock(ctx, mID) } } - } else { - var message = fmt.Sprintf("@%s%s", notif.Account.Acct, ", you are not admin!") - postToot(message, "direct") } } } - } else { - var message = fmt.Sprintf("@%s%s", notif.Account.Acct, ", you are not subscribed!") - postToot(message, "direct") } } }