Example #1
0
// Match method checks input message and returns valid result.
func (p Ping) Match(in bot.Message) bool {
	return p.MatchString(in.String())
}
Example #2
0
// Match method checks input message and returns valid result.
func (h Hello) Match(in bot.Message) bool {
	return h.MatchString(in.String())
}