Browse Source

Refixed giphy issue

master
Daniel Muckerman 9 years ago
parent
commit
21006cc4e8
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