Versions in this module Expand all Collapse all v1 v1.1.0 Aug 6, 2023 Changes in this version + type Client struct + func (c *Client) Connect() (error, *Response) + func (c *Client) DelProxy() + func (c *Client) SetCode(code string) + func (c *Client) SetProxy(proxy string) error v1.0.0 Aug 6, 2023 Changes in this version + const DISCORD_OAUTH2_TOKEN_URL + var DEFAULT_UA string = "Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1" + func Initialize(timeout time.Duration, appCtx AppContext) *client + type AppContext struct + Client_id string + Client_secret string + Code string + Grant_type string + Redirect_uri string + func (app *AppContext) Change_ClientID(id string) + func (app *AppContext) Change_ClientSecret(secret string) + func (app *AppContext) Change_Code(code string) + func (app *AppContext) Change_GrantType(grant_type string) + func (app *AppContext) Change_REDIR_URI(redir_uri string) + type Response struct + ExpiresIn int + RefreshToken Token + Scope string + Token Token + Type string + type Token string