summaryrefslogtreecommitdiff
path: root/lib/rbot/message.rb
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-04-13 00:03:47 +0200
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-04-13 00:03:47 +0200
commit1f7b45bcfa05821884ba47d4e42608c8f9b5a6b1 (patch)
tree2f98737dd80079462a601d676bed6a91ecbea4b7 /lib/rbot/message.rb
parent3768dba0fc5513fbf3631185a8c87d36b5339989 (diff)
+ MotdMessage class
Diffstat (limited to 'lib/rbot/message.rb')
-rw-r--r--lib/rbot/message.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/rbot/message.rb b/lib/rbot/message.rb
index d923fd8e..616bef28 100644
--- a/lib/rbot/message.rb
+++ b/lib/rbot/message.rb
@@ -219,6 +219,11 @@ module Irc
class WelcomeMessage < BasicUserMessage
end
+ # class for handling MOTD from the server. Yes, MotdMessage
+ # is somewhat redundant, but it fits with the naming scheme
+ class MotdMessage < BasicUserMessage
+ end
+
# class for handling IRC user messages. Includes some utilities for handling
# the message, for example in plugins.
# The +message+ member will have any bot addressing "^bot: " removed