From ed04bd3c0fff100f40ed45d300fcb152723226ef Mon Sep 17 00:00:00 2001 From: David Vazgenovich Shakaryan Date: Mon, 21 Apr 2014 14:17:44 -0700 Subject: Move response validation out of main code. --- module/base.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module/base.rb') diff --git a/module/base.rb b/module/base.rb index 3f4d9cd..3d04895 100644 --- a/module/base.rb +++ b/module/base.rb @@ -19,7 +19,7 @@ module Dinobot end def commands(m, args) - m.response << [:say, m.channel, + m.respond [:say, m.channel, "Commands: #{@commands.sort.join(' ')}"] end end -- cgit v1.2.3-70-g09d2