Class Irc::Bot::MessageTemplate
In: lib/rbot/messagemapper.rb
Parent: Object

MessageTemplate is the class that holds the actual message template map()’d by a BotModule and handled by a MessageMapper

Methods

Attributes

botmodule  [R] 
defaults  [R] 
items  [R] 
options  [R] 
regexp  [R] 
template  [R] 

Public Class methods

Create a new MessageTemplate associated to BotModule botmodule, with template template and options opts

Public Instance methods

Recognize the provided string components, returning a hash of recognized values, or [nil, reason] if the string isn‘t recognized.

[Validate]