Documentation ¶
Index ¶
- type Client
- func (c *Client) CreateChannel(guildID string, name string, channelType discord.ChannelType, maxUsers int) (discord.Channel, error)
- func (c *Client) EditInteraction(token string, message string) error
- func (c *Client) EditInteractionComplex(token string, edit discord.ComplexInteractionEdit) error
- func (c *Client) EstablishVoiceConnection(guildID, channelID string, mute, deaf bool, done chan bool) (voice *discord.VoiceConnection, err error)
- func (c *Client) GetBotUsername() string
- func (c *Client) GetChannel(channelID string) (discord.Channel, error)
- func (c *Client) GetGuildChannels(guildID string) ([]discord.Channel, error)
- func (c *Client) GetGuildUsers(guildID string) ([]discord.User, error)
- func (c *Client) GetGuilds() ([]discord.Guild, error)
- func (c *Client) GetUser(userID string) (discord.User, error)
- func (c *Client) SendFileMessage(channelID string, name, contentType string, readable io.Reader) (discord.Message, error)
- func (c *Client) SendTextMessage(channelID string, message string) error
- func (c *Client) SetEmbed(channelID string, messageID string, embed discord.MessageEmbed) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) CreateChannel ¶
func (*Client) EditInteraction ¶
func (*Client) EditInteractionComplex ¶
func (c *Client) EditInteractionComplex(token string, edit discord.ComplexInteractionEdit) error
func (*Client) EstablishVoiceConnection ¶
func (*Client) GetBotUsername ¶
func (*Client) GetGuildChannels ¶
func (*Client) GetGuildUsers ¶
func (*Client) SendFileMessage ¶
func (*Client) SendTextMessage ¶
Click to show internal directories.
Click to hide internal directories.