Documentation ¶
Index ¶
- type Discord
- func (client *Discord) Author(id string) (string, error)
- func (client *Discord) Close() error
- func (client *Discord) GetPinned(channelID string) ([]string, error)
- func (client *Discord) HandleMessageCreate(_ *discord.Session, m *discord.MessageCreate)
- func (client *Discord) HandleMessageUpdate(_ *discord.Session, m *discord.MessageUpdate)
- func (client *Discord) Ping() bool
- func (client *Discord) SendMessage(channelID, authorID, content string) error
- func (client *Discord) SendMessages(channelID, authorID string, messages ...string)
- func (client *Discord) SubscribeMessageEvents(publisher Publisher)
- type Joke
- type Joker
- type Publisher
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
}
func NewDiscord ¶
func (*Discord) HandleMessageCreate ¶
func (client *Discord) HandleMessageCreate(_ *discord.Session, m *discord.MessageCreate)
func (*Discord) HandleMessageUpdate ¶ added in v0.5.0
func (client *Discord) HandleMessageUpdate(_ *discord.Session, m *discord.MessageUpdate)
func (*Discord) SendMessage ¶
func (*Discord) SendMessages ¶
func (*Discord) SubscribeMessageEvents ¶
Click to show internal directories.
Click to hide internal directories.