From 0f3bde20c569e4c7bfd0030b20d875592c817dd0 Mon Sep 17 00:00:00 2001 From: Daniel Muckerman Date: Fri, 9 Oct 2015 13:39:33 -0400 Subject: [PATCH] Remove giphy query from end of error strings --- slack-mathbot/commands/calculate.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/slack-mathbot/commands/calculate.rb b/slack-mathbot/commands/calculate.rb index b9ce1bb..0168a80 100644 --- a/slack-mathbot/commands/calculate.rb +++ b/slack-mathbot/commands/calculate.rb @@ -10,10 +10,10 @@ module SlackMathbot if result && result.length > 0 send_message client, data.channel, result else - send_message client, data.channel, 'Got nothing.', 'nothing' + send_message client, data.channel, 'Got nothing.' end rescue StandardError => e - send_message client, data.channel, "Sorry, #{e.message}.", 'idiot' + send_message client, data.channel, "Sorry, #{e.message}." end end end