diff --git a/Pleroma/Models/Account.cs b/Pleroma/Models/Account.cs index 1de85eb..4689ccc 100644 --- a/Pleroma/Models/Account.cs +++ b/Pleroma/Models/Account.cs @@ -53,6 +53,11 @@ public class Account : ASObject } } + /// + /// If true, the user opts-out of automated interactions. Bots must not follow these users, nor reply, favorite, boost, or store posts from these users. + /// + public bool NoBot => Bio != null && Bio.Contains("#nobot", StringComparison.OrdinalIgnoreCase); + [JsonConstructor()] internal Account() {