Documentation ¶
Index ¶
- type Discord
- func (d *Discord) Channels() ([]*transport.Channel, error)
- func (d *Discord) GetConversation(userID string) (string, error)
- func (d *Discord) GetUser(user string) (*transport.User, error)
- func (d *Discord) GetUsers() ([]*transport.User, error)
- func (d *Discord) SendEvent(ev *transport.Event) error
- func (d *Discord) SendMessage(dest, msg string) error
- func (d *Discord) TunnelEvents(ctx context.Context, evCh chan *transport.Event, errCh chan error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Discord ¶
type Discord struct {
// contains filtered or unexported fields
}
Discord provides io access to the Discord network.
func (*Discord) GetConversation ¶ added in v0.0.2
GetConversation gets a private conversation for the given user ID.
func (*Discord) SendMessage ¶
SendMessage sends a message over the discord network.
Click to show internal directories.
Click to hide internal directories.