diff options
-rw-r--r-- | modules/Credits.rb | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/modules/Credits.rb b/modules/Credits.rb index ad2bd4a..1df7d18 100644 --- a/modules/Credits.rb +++ b/modules/Credits.rb @@ -6,15 +6,18 @@ require_relative '../module_base' module Lain module Modules class Credits < Base - def on_message(muc, message) - return unless /\A!credits\b/ =~ message.body - - muc.say <<END + CreditText = <<END I am Lain (レイン) #{Version}. - -- coded by NeoRaider +Coded by NeoRaider -- code at http://git.universe-factory.net/lain/ END + + def on_message(muc, message) + return unless /\A!credits\b/ =~ message.body + + + muc.say CreditText.chomp end def commands |