diff options
Diffstat (limited to 'test.rb')
-rw-r--r-- | test.rb | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -0,0 +1,19 @@ +require_relative 'module' + +module Dinobot + class Test < Module + def initialize + super + + @commands << :echo << :error + end + + def echo(user, channel, argument) + [[:say, channel, argument]] + end + + def error(user, channel, argument) + x + end + end +end |