Documentation ¶
Overview ¶
Package discordgo acts as a fascade to the external package discordgo
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DiscordSession ¶
type DiscordSession struct {
Session *_discordgo.Session
}
DiscordSession is a discordgo implementation of the emotebox.DiscordSession interface
func New ¶
func New(token string) (*DiscordSession, error)
New constructs a new DiscordSession that is authenticated
func (*DiscordSession) CurrentUser ¶
func (s *DiscordSession) CurrentUser() (*emotebox.User, error)
type UserService ¶
type UserService struct {
Session emotebox.DiscordSession
}
func (*UserService) GetCurrentUser ¶
func (s *UserService) GetCurrentUser() (*emotebox.User, error)
Click to show internal directories.
Click to hide internal directories.