Documentation ¶
Index ¶
- func New(token, room, name string) gobot.Bot
- type Bot
- func (b *Bot) Client() *slack.RTM
- func (b *Bot) Connect() error
- func (b *Bot) FullName() string
- func (b *Bot) Listen() chan gobot.Message
- func (b *Bot) Log(msg string)
- func (b *Bot) Name() string
- func (b *Bot) Reply(orig gobot.Message, msg string)
- func (b *Bot) Send(msg string)
- func (b *Bot) SetLogger(logger *log.Logger)
- type Message
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Message ¶
type Message struct {
// contains filtered or unexported fields
}
func (Message) EffectiveMessage ¶
func (m Message) EffectiveMessage() *slack.MessageEvent
Click to show internal directories.
Click to hide internal directories.