func (m Message) MatchRegex(regex *regexp.Regexp) bool {
	return regex.MatchString(strings.TrimSpace(m.Text))
}
MatchRegex reports if the message text matches the given regexp
with leading and trailing spaces removed.
package flamingo
import (
	"regexp"
	"strings"
	"time"
)
type OutgoingMessage struct {
	ChannelID string
	Text string
	Sender *MessageSender
}
func (OutgoingMessage) isSendable() {}
func NewOutgoingMessage(text string) OutgoingMessage {
	return OutgoingMessage{Text: text}
}
type MessageSender struct {
	Username string
	IconURL string
}
type Message struct {
	ID string
	Type ClientType
	User User
	Channel Channel
	Time time.Time
	Text string
	Extra interface{}
}
func (m Message) MatchString(str string) bool {
	return normalize(m.Text) == normalize(str)
}
func (m Message) MatchStringCase(str string) bool {
	return strings.TrimSpace(m.Text) == strings.TrimSpace(str)
}