Libraries refactor and add some sinks #4
|
@ -94,31 +94,18 @@ class IRCCommands(object):
|
||||||
else:
|
else:
|
||||||
msg(dumps(x["response"]))
|
msg(dumps(x["response"]))
|
||||||
|
|
||||||
# class brute(object):
|
class redist(object):
|
||||||
# name = "brute"
|
name = "redist"
|
||||||
# authed = True
|
authed = True
|
||||||
# helptext = "Use a bruteforce algorithm to create all possible currency and country pairs."
|
helptext = "Update all ads with details."
|
||||||
#
|
|
||||||
# @staticmethod
|
@staticmethod
|
||||||
# def run(cmd, spl, length, authed, msg, agora, revolut, tx, notify):
|
def run(cmd, spl, length, authed, msg, agora, revolut, tx, notify):
|
||||||
# for x in agora.dist_bruteforce():
|
for x in agora.redist_countries():
|
||||||
# if x["success"]:
|
if x["success"]:
|
||||||
# msg(f"{x['response']['data']['message']}: {x['response']['data']['ad_id']}")
|
msg(f"{x[0]['response']['data']['message']}: {x[1]}")
|
||||||
# else:
|
else:
|
||||||
# msg(dumps(x))
|
msg(dumps(x["response"]))
|
||||||
#
|
|
||||||
# class fillblanks(object):
|
|
||||||
# name = "fillblanks"
|
|
||||||
# authed = True
|
|
||||||
# helptext = "Resume a run of brute by getting all our adverts then filling the blanks."
|
|
||||||
#
|
|
||||||
# @staticmethod
|
|
||||||
# def run(cmd, spl, length, authed, msg, agora, revolut, tx, notify):
|
|
||||||
# for x in agora.bruteforce_fill_blanks():
|
|
||||||
# if x["success"]:
|
|
||||||
# msg(f"{x['response']['data']['message']}: {x['response']['data']['ad_id']}")
|
|
||||||
# else:
|
|
||||||
# msg(dumps(x))
|
|
||||||
|
|
||||||
class stripdupes(object):
|
class stripdupes(object):
|
||||||
name = "stripdupes"
|
name = "stripdupes"
|
||||||
|
|
Loading…
Reference in New Issue