Fixed handeling of encoded name

Spaces now replace %20
This commit is contained in:
Tikuf 2020-05-01 16:24:57 -06:00
parent 316b5f283d
commit 6d06709cb5

View file

@ -38,7 +38,7 @@ namespace BSB.Commands.script
{
if (UUID.TryParse(args[1], out UUID Avatar))
{
return bot.SendScript(attempt_endpoint.Split('/').LastOrDefault(), endpoint_checks.Content, Avatar);
return bot.SendScript(attempt_endpoint.Split('/').LastOrDefault().Replace("%20", " "), endpoint_checks.Content, Avatar);
}
else
{