README ¶ disco this package is a wrapper for the discord gateway websocket, based off of LuminalDev/dgate. Expand ▾ Collapse ▴ Documentation ¶ Index ¶ type Client func NewClient(token string, config *types.Config) *Client func (client *Client) AddHandler(event string, function any) error func (client *Client) Close() func (client *Client) Connect() error func (client *Client) GetMembers(guildId string, memberIds []string) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Client ¶ type Client struct { Selfbot *discord.Selfbot Gateway *discord.Gateway Config *types.Config } func NewClient ¶ func NewClient(token string, config *types.Config) *Client func (*Client) AddHandler ¶ func (client *Client) AddHandler(event string, function any) error func (*Client) Close ¶ func (client *Client) Close() func (*Client) Connect ¶ func (client *Client) Connect() error func (*Client) GetMembers ¶ func (client *Client) GetMembers(guildId string, memberIds []string) error Source Files ¶ View all Source files disco.go Directories ¶ Show internal Expand all Path Synopsis discord types Click to show internal directories. Click to hide internal directories.