|
|
@ -441,3 +441,13 @@ class IRCCommands(object):
|
|
|
|
def run(cmd, spl, length, authed, msg, agora, revolut, tx, notify):
|
|
|
|
def run(cmd, spl, length, authed, msg, agora, revolut, tx, notify):
|
|
|
|
remaining = tx.get_remaining()
|
|
|
|
remaining = tx.get_remaining()
|
|
|
|
msg(f"Remaining: {remaining}USD")
|
|
|
|
msg(f"Remaining: {remaining}USD")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class total_remaining(object):
|
|
|
|
|
|
|
|
name = "tr"
|
|
|
|
|
|
|
|
authed = True
|
|
|
|
|
|
|
|
helptext = "Show how much is left before we are able to withdraw funds (including open trades)."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@staticmethod
|
|
|
|
|
|
|
|
def run(cmd, spl, length, authed, msg, agora, revolut, tx, notify):
|
|
|
|
|
|
|
|
remaining = tx.get_total_remaining()
|
|
|
|
|
|
|
|
msg(f"Total remaining: {remaining}USD")
|
|
|
|