diff --git a/handler/commands.py b/handler/commands.py index ab8a575..722ea28 100644 --- a/handler/commands.py +++ b/handler/commands.py @@ -43,7 +43,7 @@ class IRCCommands(object): Get all messages for all open trades or a given trade. """ if length == 1: - messages = agora.get_all_messages() + messages = agora.get_all_messages(send_irc=False) if not messages: msg("No messages.") for message_id in messages: @@ -118,3 +118,15 @@ class IRCCommands(object): @staticmethod def run(cmd, spl, length, authed, msg): msg("Pong!") + + class release_url(object): + name = "release_url" + authed = True + + @staticmethod + def run(cmd, spl, length, authed, msg, agora, revolut, tx): + trades = agora.dashboard_release_urls() + if not trades: + msg("No trades.") + for trade in trades: + msg(trade)