feat: add downvote functionality and new word entries to vocabulary list

This commit is contained in:
2024-11-27 15:54:20 +00:00
parent 3d56456548
commit db2251e51f
+3 -1
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))