Added words and downvote
All checks were successful
Build Ragnar anti spam bot / Build (push) Successful in 1m1s
All checks were successful
Build Ragnar anti spam bot / Build (push) Successful in 1m1s
This commit is contained in:
parent
720ffc93ce
commit
0482cfc0ec
@ -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))
|
||||||
|
Loading…
Reference in New Issue
Block a user