Changed message.
All checks were successful
Build Ragnar anti spam bot / Build (push) Successful in 1m2s

This commit is contained in:
retoor 2024-11-28 11:38:11 +01:00
parent 8ca2e2a85a
commit 5cd0c3c8ea

View File

@ -23,7 +23,7 @@ class Bot:
"no-spam4": "Vira", "no-spam4": "Vira",
} }
self.name = names.get(self.name, "everyone") self.name = names.get(self.name, "everyone")
self.mark_text = "I am {} and downvoted this post because post is considered spam. Your message will be removed from this community site due too much downvotes. See my profile for more information. Read my source code mentioned on my profile to see what you did wrong. Should be no problem for a developer.\n\nHave a nice day!\n\n\n* If it is not spam, please contact @retoor.".format( self.mark_text = "I am {} and downvoted this post because post is considered spam. Your message will be removed from this community site due too much downvotes. See my profile for more information. Read my source code mentioned on my profile to see what you did wrong. Should be no problem for a developer.\n\nHave a nice day!\n\n\nIf the post is not spam, please mention @retoor in the comments of this rant.".format(
self.name self.name
) )
self.auth = None self.auth = None
@ -33,7 +33,7 @@ class Bot:
"hacker", "hacker",
"recovery", "recovery",
{"regex": r"\([+,(,0-9,),-]{7,}"}, {"regex": r"\([+,(,0-9,),-]{7,}"},
{"regex": r"([\w\d]\.[\w\d]{1,5}\/[\w\d]+|http|www)"}, {"regex": r"([\w\d]\.[\w\d]{2,5}\/[\w\d]+|http|www)"},
"money", "money",
"landscape", "landscape",
"cyber", "cyber",