fixed special characters in memegen
This commit is contained in:
parent
34a9a3dd5f
commit
b9a87a62b9
@ -39,8 +39,8 @@ namespace NadekoBot.Modules.Searches
|
|||||||
{
|
{
|
||||||
var channel = (ITextChannel)umsg.Channel;
|
var channel = (ITextChannel)umsg.Channel;
|
||||||
|
|
||||||
var top = Uri.EscapeDataString(topText.Replace(' ', '-'));
|
var top = topText.Replace(' ', '-');
|
||||||
var bot = Uri.EscapeDataString(botText.Replace(' ', '-'));
|
var bot = botText.Replace(' ', '-');
|
||||||
await channel.SendMessageAsync($"http://memegen.link/{meme}/{top}/{bot}.jpg")
|
await channel.SendMessageAsync($"http://memegen.link/{meme}/{top}/{bot}.jpg")
|
||||||
.ConfigureAwait(false);
|
.ConfigureAwait(false);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user