Fix redist command
This commit is contained in:
parent
0343140328
commit
baaf32a2e0
|
@ -102,10 +102,10 @@ class IRCCommands(object):
|
|||
@staticmethod
|
||||
def run(cmd, spl, length, authed, msg, agora, revolut, tx, notify):
|
||||
for x in agora.redist_countries():
|
||||
if x["success"]:
|
||||
if x[0]["success"]:
|
||||
msg(f"{x[0]['response']['data']['message']}: {x[1]}")
|
||||
else:
|
||||
msg(dumps(x["response"]))
|
||||
msg(dumps(x[0]["response"]))
|
||||
|
||||
class stripdupes(object):
|
||||
name = "stripdupes"
|
||||
|
|
Loading…
Reference in New Issue