mirror of
https://gitea.phreedom.club/localhost_frssoft/mastodon-group-bot
synced 2025-03-21 08:19:32 +00:00
fix spam
This commit is contained in:
parent
d1439f87ac
commit
d3f2bcbdcd
1 changed files with 0 additions and 6 deletions
12
bot.go
12
bot.go
|
@ -98,15 +98,9 @@ func run_bot(Conf Config, DB string) {
|
||||||
c.AccountUnblock(ctx, mID)
|
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")
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue