diff options
| author | Gorialis <[email protected]> | 2017-10-20 05:57:33 +0900 |
|---|---|---|
| committer | Gorialis <[email protected]> | 2017-10-20 05:57:33 +0900 |
| commit | 6fc2b51dea42aedd69e0be29be6c06c040c6ea0f (patch) | |
| tree | 46e63cc6a2ec740715e53f89f14071bcd0ddc74b | |
| parent | Use local version identifer for SHA (diff) | |
| download | discord.py-6fc2b51dea42aedd69e0be29be6c06c040c6ea0f.tar.xz discord.py-6fc2b51dea42aedd69e0be29be6c06c040c6ea0f.zip | |
Quote all Route params
| -rw-r--r-- | discord/http.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/http.py b/discord/http.py index 8c4ebb16..4d0ae2e1 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 |