From ee47200831e1af486cef522eba265df4bbac8605 Mon Sep 17 00:00:00 2001 From: localhost_frssoft Date: Fri, 25 Nov 2022 16:03:41 +0300 Subject: [PATCH] Add boost command --- bot.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bot.go b/bot.go index cbf71a2..2eb34a5 100644 --- a/bot.go +++ b/bot.go @@ -171,6 +171,9 @@ func RunBot() { mID := mastodon.ID((args[2])) switch args[1] { + case "boost": + c.Reblog(ctx, mID) + WarnLogger.Printf("%s was rebloged", mID) case "unboost": c.Unreblog(ctx, mID) WarnLogger.Printf("%s was unrebloged", mID)