From aa8603eb8a61d1bc8c50f60004d8c4313d6db59f Mon Sep 17 00:00:00 2001 From: Daniel Muckerman Date: Fri, 9 Oct 2015 19:15:44 -0400 Subject: [PATCH] Remove check? --- slack-mathbot/commands/calculate.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/slack-mathbot/commands/calculate.rb b/slack-mathbot/commands/calculate.rb index 394b628..04b860f 100644 --- a/slack-mathbot/commands/calculate.rb +++ b/slack-mathbot/commands/calculate.rb @@ -5,6 +5,7 @@ module SlackMathbot command 'calculate' def self.call(client, data, match) + send_message client, data.channel, :expression result = Dentaku::Calculator.new.evaluate(match[:expression]) #if match.names.include?('expression') result = result.to_s if result