private async Task Init() { // Now the client is lunched. Client = new DDBLBotClient() { ApiKey = _config.ApiKey, BotId = _discord.Id }; await UpdateStats(); }
public async Task GetSelfBot() { var client = new DDBLBotClient() { BotId = 491673480006205461, ApiKey = _config.ApiKey, }; await client.GetSelfUserAsync(); Assert.Pass(); }
public async Task GetBotWithAuth() { var client = new DDBLBotClient() { BotId = 491673480006205461, ApiKey = _config.ApiKey, }; await client.GetBotAsync(491673480006205461); Assert.Pass(); }