Browse Source

Remove echo

master
Daniel Muckerman 9 years ago
parent
commit
500120519f
1 changed files with 0 additions and 13 deletions
  1. +0
    -13
      slack-mathbot/commands/echo.rb

+ 0
- 13
slack-mathbot/commands/echo.rb View File

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

Loading…
Cancel
Save