diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2006-07-24 15:30:00 +0000 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2006-07-24 15:30:00 +0000 |
commit | a4da195823461efc46c21848f7742598c591b62e (patch) | |
tree | df265c07cc44db6df7687968a0be629a718d8050 /lib | |
parent | b0cf4c3d8b643894e9191c86df41b6648378b6f4 (diff) |
Add constants for Bold/Underline/Reverse/Color
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rbot/message.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/rbot/message.rb b/lib/rbot/message.rb index eda7ef72..ab812127 100644 --- a/lib/rbot/message.rb +++ b/lib/rbot/message.rb @@ -4,6 +4,11 @@ module Irc :desc => "what non nick-matching prefixes should the bot respond to as if addressed (e.g !, so that '!foo' is treated like 'rbot: foo')" ) + Color = "\003" + Bold = "\002" + Underline = "\031" + Reverse = "\022" + # base user message class, all user messages derive from this # (a user message is defined as having a source hostmask, a target # nick/channel and a message part) |