diff --git a/README.md b/README.md index 04092beb..ade936e0 100644 --- a/README.md +++ b/README.md @@ -230,7 +230,7 @@ Success! The new status is: DISABLED. /help ``` --admin.group= admin group name, or channel id [$ADMIN_GROUP] - --disable-admin-spam-forward disable forwarding spam messages to admin group [$DISABLE_ADMIN_SPAM_FORWARD] + --disable-admin-spam-forward disable handling messages forwarded to admin group as spam [$DISABLE_ADMIN_SPAM_FORWARD] --testing-id= testing ids, allow bot to reply to them [$TESTING_ID] --history-duration= history duration (default: 24h) [$HISTORY_DURATION] --history-min-size= history minimal size to keep (default: 1000) [$HISTORY_MIN_SIZE] @@ -536,4 +536,4 @@ func main() { } } -``` \ No newline at end of file +``` diff --git a/app/main.go b/app/main.go index c157b31a..a35a8ddb 100644 --- a/app/main.go +++ b/app/main.go @@ -42,7 +42,7 @@ type options struct { } `group:"telegram" namespace:"telegram" env-namespace:"TELEGRAM"` AdminGroup string `long:"admin.group" env:"ADMIN_GROUP" description:"admin group name, or channel id"` - DisableAdminSpamForward bool `long:"disable-admin-spam-forward" env:"DISABLE_ADMIN_SPAM_FORWARD" description:"disable forwarding spam messages to admin group"` + DisableAdminSpamForward bool `long:"disable-admin-spam-forward" env:"DISABLE_ADMIN_SPAM_FORWARD" description:"disable handling messages forwarded to admin group as spam"` TestingIDs []int64 `long:"testing-id" env:"TESTING_ID" env-delim:"," description:"testing ids, allow bot to reply to them"`