Exemplo n.º 1
0
        public string Login(string username, string password)
        {
            string        json     = SocketController.Post(DiscordURL.Login, new LoginObject(username, password));
            LoginResponse response = JsonConvert.DeserializeObject <LoginResponse>(json);

            return(response.Token);
        }