aboutsummaryrefslogtreecommitdiff
path: root/echo.rb
blob: 4911ad0f84eec70c5a8f25e17574432af11d0d2f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
require_relative 'module'

module Dinobot
  class Echo < Module
    def initialize
      super

      @commands << :echo
    end

    def echo(user, channel, message)
      [[:say, channel, message]]
    end
  end
end