diff --git a/handler/commands.py b/handler/commands.py index f18ed4d..db3c1ae 100644 --- a/handler/commands.py +++ b/handler/commands.py @@ -13,10 +13,10 @@ class IRCCommands(object): """ Get details of open trades and post on IRC. """ - trades = agora.dashboard(send_irc=False, formatted=True) - if trades is False: - msg("Error getting trades.") - return + # Send IRC - we don't want to automatically send messages on IRC, even though + # this variable seems counter-intuitive here, we are doing something with the result + # then calling msg() ourselves, and we don't want extra spam in the channel. + trades = agora.dashboard(send_irc=False) if not trades: msg("No open trades.") return @@ -126,7 +126,7 @@ class IRCCommands(object): class find(object): name = "find" authed = True - helptext = "Finx a transaction. Usage: find " + helptext = "Find a transaction. Usage: find " @staticmethod def run(cmd, spl, length, authed, msg, agora, revolut, tx):