aboutsummaryrefslogtreecommitdiff
path: root/echo.rb
blob: 34b9770da56b52eb7f4cd7f8cf844b47fd3928f6 (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, argument)
      [[:say, channel, argument]]
    end
  end
end