diff options
Diffstat (limited to 'modules/Help.rb')
-rw-r--r-- | modules/Help.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/Help.rb b/modules/Help.rb index 7c27689..d4a6d1f 100644 --- a/modules/Help.rb +++ b/modules/Help.rb @@ -8,7 +8,7 @@ module Lain def on_message(muc, message) return unless /\A!help\b/ =~ message.body - muc.send(Jabber::Message.new(muc.room, "Commands:" + @lain.commands.reduce('') { |s, cmd| "#{s}\n#{cmd[0]}: #{cmd[1]}" })) + muc.say("\nBEGIN COMMAND LIST" + @lain.commands.reduce('') { |s, cmd| s + "\n#{cmd[0]}: #{cmd[1]}" } + "\nEND COMMAND LIST") end def commands |