public void GetExchangeRateForToday_WorksAsExpected() { // Act - var exchangeRate = _pokedollarServiceProvider.GetTodaysExchangeRate(); // Assert - Assert.IsTrue(exchangeRate.Title.Length > 0); Assert.IsTrue(exchangeRate.ImageUrl.Length > 0); Assert.IsTrue(exchangeRate.Description.Length > 0); }
public async Task DolarHoje(CommandContext ctx) { var exchangeRateMessage = _serviceProvider.GetTodaysExchangeRate(); await ctx.Message.RespondAsync(embed : exchangeRateMessage); }