From 6fc2b51dea42aedd69e0be29be6c06c040c6ea0f Mon Sep 17 00:00:00 2001 From: Gorialis Date: Fri, 20 Oct 2017 05:57:33 +0900 Subject: [PATCH] Quote all Route params --- discord/http.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/http.py b/discord/http.py index 8c4ebb166..4d0ae2e19 100644 --- a/discord/http.py +++ b/discord/http.py @@ -53,7 +53,7 @@ class Route: self.method = method url = (self.BASE + self.path) if parameters: - self.url = url.format(**parameters) + self.url = url.format(**{k: _uriquote(v) for k, v in parameters.items()}) else: self.url = url