Added words and downvote
All checks were successful
Build Ragnar anti spam bot / Build (push) Successful in 1m1s

This commit is contained in:
retoor 2024-11-27 16:54:20 +01:00
parent 720ffc93ce
commit 0482cfc0ec

View File

@ -36,6 +36,8 @@ class Bot:
"cyber", "cyber",
"recover", "recover",
"trust", "trust",
"bitcoin",
"wizard"
] ]
self.api = Api(username=self.username, password=self.password) self.api = Api(username=self.username, password=self.password)
@ -134,4 +136,4 @@ class Bot:
def down_vote_rant(self, rant): def down_vote_rant(self, rant):
log.warning("Downvoting rant by {}.".format(rant["user_username"])) log.warning("Downvoting rant by {}.".format(rant["user_username"]))
log.debug(self.api.post_rant_vote(rant["id"], 4)) log.debug(self.api.post_rant_vote(rant["id"], -1))