diff options
Diffstat (limited to 'lib/rbot')
-rw-r--r-- | lib/rbot/message.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/rbot/message.rb b/lib/rbot/message.rb index de72d30c..df3812e0 100644 --- a/lib/rbot/message.rb +++ b/lib/rbot/message.rb @@ -382,6 +382,12 @@ module Irc plainokay end + # send a NOTICE to the message source + # + def notify(msg,opts={}) + @bot.notice(sourcenick, msg, opts) + end + end # class to manage IRC PRIVMSGs |