Now properly loading youtubeapikey from credentials

This commit is contained in:
Kwoth
2016-08-21 00:47:39 +02:00
parent 30fde5fa83
commit 9e158b53b0
3 changed files with 4 additions and 3 deletions

View File

@@ -60,8 +60,7 @@ $@"🌍 **Weather for** 【{obj["target"]}】
await channel.SendMessageAsync("No results found for that query.");
return;
}
var shortUrl = await result.ShortenUrl().ConfigureAwait(false);
await channel.SendMessageAsync(shortUrl).ConfigureAwait(false);
await channel.SendMessageAsync(result).ConfigureAwait(false);
}
[LocalizedCommand, LocalizedDescription, LocalizedSummary]