Browse Source

Should fucking remove gif spam

master
Daniel Muckerman 9 years ago
parent
commit
7e090066ce
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_with_gif client, data.channel, 'Got nothing.', 'nothing'
send_message client, data.channel, 'Got nothing.', 'nothing'
end
rescue StandardError => e
send_message_with_gif client, data.channel, "Sorry, #{e.message}.", 'idiot'
send_message client, data.channel, "Sorry, #{e.message}.", 'idiot'
end
end
end

Loading…
Cancel
Save