Documentation
¶
Index ¶
- type Discord
- func (t *Discord) Close() error
- func (t *Discord) FindUserVS(userID string) (discordgo.VoiceState, bool)
- func (t *Discord) GetGuild(id string) (discordgo.Guild, error)
- func (t *Discord) GetUser(id string) (*discordgo.User, error)
- func (t *Discord) HasSharedGuild(userID string) (bool, error)
- func (t *Discord) Open() error
- func (t *Discord) Session() *discordgo.Session
- func (t *Discord) UsersInGuildVoice(guildID string) ([]string, error)
- type DiscordConfig
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 New ¶
func New(c DiscordConfig) (*Discord, error)
func (*Discord) FindUserVS ¶
func (t *Discord) FindUserVS(userID string) (discordgo.VoiceState, bool)
func (*Discord) HasSharedGuild ¶ added in v1.5.0
type DiscordConfig ¶
Click to show internal directories.
Click to hide internal directories.