fixed special characters in memegen

This commit is contained in:
Kwoth 2016-12-22 08:52:02 +01:00
parent 34a9a3dd5f
commit b9a87a62b9

View File

@ -39,8 +39,8 @@ namespace NadekoBot.Modules.Searches
{
var channel = (ITextChannel)umsg.Channel;
var top = Uri.EscapeDataString(topText.Replace(' ', '-'));
var bot = Uri.EscapeDataString(botText.Replace(' ', '-'));
var top = topText.Replace(' ', '-');
var bot = botText.Replace(' ', '-');
await channel.SendMessageAsync($"http://memegen.link/{meme}/{top}/{bot}.jpg")
.ConfigureAwait(false);
}