From 0bfbf1f82ed148321edef8f7077d8cfd958b802d Mon Sep 17 00:00:00 2001 From: Daniel Muckerman Date: Fri, 9 Oct 2015 17:28:16 -0400 Subject: [PATCH] Revert "Remove giphy query from end of error strings" This reverts commit 0f3bde20c569e4c7bfd0030b20d875592c817dd0. --- 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 0168a80..b9ce1bb 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.' + send_message client, data.channel, 'Got nothing.', 'nothing' end rescue StandardError => e - send_message client, data.channel, "Sorry, #{e.message}." + send_message client, data.channel, "Sorry, #{e.message}.", 'idiot' end end end