Libraries refactor and add some sinks #4

Closed
m wants to merge 136 commits from library-refactor into master
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 3d3e9b0279 - Show all commits

View File

@ -473,7 +473,7 @@ class IRCCommands(object):
@staticmethod @staticmethod
def run(cmd, spl, length, authed, msg, agora, revolut, tx, notify): def run(cmd, spl, length, authed, msg, agora, revolut, tx, notify):
total = tx.get_profit() total = tx.money.get_profit()
msg(f"Profit: {total}USD") msg(f"Profit: {total}USD")
class tprofit(object): class tprofit(object):
@ -483,5 +483,5 @@ class IRCCommands(object):
@staticmethod @staticmethod
def run(cmd, spl, length, authed, msg, agora, revolut, tx, notify): def run(cmd, spl, length, authed, msg, agora, revolut, tx, notify):
total = tx.get_profit(True) total = tx.money.get_profit(True)
msg(f"Profit: {total}USD") msg(f"Profit: {total}USD")