From 500120519fcc2682917fabe548865ec51d5a0e76 Mon Sep 17 00:00:00 2001 From: Daniel Muckerman Date: Fri, 9 Oct 2015 17:24:04 -0400 Subject: [PATCH] Remove echo --- slack-mathbot/commands/echo.rb | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 slack-mathbot/commands/echo.rb diff --git a/slack-mathbot/commands/echo.rb b/slack-mathbot/commands/echo.rb deleted file mode 100644 index acb4f77..0000000 --- a/slack-mathbot/commands/echo.rb +++ /dev/null @@ -1,13 +0,0 @@ -module SlackMathbot - module Commands - class Echo < SlackRubyBot::Commands::Base - command 'echo' - - def self.call(client, data, match) - send_message client, data.channel, match[:expression] - rescue StandardError => e - send_message client, data.channel, "Sorry, #{e.message}." - end - end - end -end