Finish implementation and tests for the cheat system #3

Closed
m wants to merge 67 commits from cheat-refactor into master
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 5a59e5e804 - Show all commits

View File

@ -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"