summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-01-02 05:18:19 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-01-02 05:18:19 +0100
commit1ed0e06c2fefedc7419b611bba405f6ec5ab99cc (patch)
tree28991c39f75321823c10e0fcd069ab83ec7551c5 /modules
parent4b3975fc0a495ea18ae3bcaf0fbf5ee2c924ed8c (diff)
downloadlain-1ed0e06c2fefedc7419b611bba405f6ec5ab99cc.tar
lain-1ed0e06c2fefedc7419b611bba405f6ec5ab99cc.zip
Update credits
Diffstat (limited to 'modules')
-rw-r--r--modules/Credits.rb13
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