Browse Source

Remove giphy query from end of error strings

master
Daniel Muckerman 9 years ago
parent
commit
0f3bde20c5
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      slack-mathbot/commands/calculate.rb

+ 2
- 2
slack-mathbot/commands/calculate.rb View File

@ -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

Loading…
Cancel
Save