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

This commit is contained in:
retoor 2024-11-27 15:54:20 +00:00
parent 3d56456548
commit db2251e51f

View File

@ -36,6 +36,8 @@ class Bot:
"cyber",
"recover",
"trust",
"bitcoin",
"wizard"
]
self.api = Api(username=self.username, password=self.password)
@ -134,4 +136,4 @@ class Bot:
def down_vote_rant(self, rant):
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))