diff options
author | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2014-04-21 14:17:44 -0700 |
---|---|---|
committer | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2014-04-21 14:17:44 -0700 |
commit | ed04bd3c0fff100f40ed45d300fcb152723226ef (patch) | |
tree | be80f6bc8370126e899a7b53be6fa319a3b1c2af /module/base.rb | |
parent | 8fd8c27562184a18000d32d96921fbb0ca8045be (diff) | |
download | dinobot-ed04bd3c0fff100f40ed45d300fcb152723226ef.tar.gz dinobot-ed04bd3c0fff100f40ed45d300fcb152723226ef.tar.xz |
Move response validation out of main code.
Diffstat (limited to 'module/base.rb')
-rw-r--r-- | module/base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |