Update credits
This commit is contained in:
parent
4b3975fc0a
commit
1ed0e06c2f
1 changed files with 8 additions and 5 deletions
|
@ -6,15 +6,18 @@ require_relative '../module_base'
|
||||||
module Lain
|
module Lain
|
||||||
module Modules
|
module Modules
|
||||||
class Credits < Base
|
class Credits < Base
|
||||||
def on_message(muc, message)
|
CreditText = <<END
|
||||||
return unless /\A!credits\b/ =~ message.body
|
|
||||||
|
|
||||||
muc.say <<END
|
|
||||||
|
|
||||||
I am Lain (レイン) #{Version}.
|
I am Lain (レイン) #{Version}.
|
||||||
|
|
||||||
-- coded by NeoRaider
|
Coded by NeoRaider -- code at http://git.universe-factory.net/lain/
|
||||||
END
|
END
|
||||||
|
|
||||||
|
def on_message(muc, message)
|
||||||
|
return unless /\A!credits\b/ =~ message.body
|
||||||
|
|
||||||
|
|
||||||
|
muc.say CreditText.chomp
|
||||||
end
|
end
|
||||||
|
|
||||||
def commands
|
def commands
|
||||||
|
|
Reference in a new issue