#34 Temporary disabled login code
This commit is contained in:
parent
123a2e6965
commit
80cab1ea44
|
@ -6,11 +6,12 @@ namespace DML.Client
|
|||
{
|
||||
public static class DMLClient
|
||||
{
|
||||
public static DiscordSocketClient Client { get; set; } = new DiscordSocketClient(new DiscordSocketConfig(){DefaultRetryMode = RetryMode.RetryRatelimit|RetryMode.RetryTimeouts});
|
||||
public static DiscordSocketClient Client { get; set; } = new DiscordSocketClient(new DiscordSocketConfig() { DefaultRetryMode = RetryMode.RetryRatelimit | RetryMode.RetryTimeouts });
|
||||
|
||||
public static async Task<bool> Login(string token)
|
||||
{
|
||||
await Client.LoginAsync(TokenType.User, token);
|
||||
// TODO: Fix Login with usertoken
|
||||
//await Client.LoginAsync(TokenType.User, token);
|
||||
await Client.StartAsync();
|
||||
await Task.Delay(1000);
|
||||
|
||||
|
|
Loading…
Reference in a new issue