Extra no reply strings

main
Bob Mottram 2022-06-14 21:38:56 +01:00
parent e143f2ae45
commit f9e6efd385
1 changed files with 7 additions and 2 deletions

View File

@ -3728,7 +3728,11 @@ def disallow_announce(content: str) -> bool:
'dont_announce', 'dont_announce',
'dont_boost', 'dont_boost',
'do not boost', 'do not boost',
"don't boost" "don't boost",
'boost_denied',
'boosts_denied',
'BoostDenied',
'BoostsDenied'
) )
for diss in disallow_strings: for diss in disallow_strings:
if diss in content: if diss in content:
@ -3748,7 +3752,8 @@ def disallow_reply(content: str) -> bool:
':replies_no:', ':replies_no:',
'dont_at_me', 'dont_at_me',
'do not reply', 'do not reply',
"don't reply" "don't reply",
'DontAtMe'
) )
for diss in disallow_strings: for diss in disallow_strings:
if diss in content: if diss in content: