diff options
| author | Rapptz <[email protected]> | 2021-04-08 06:02:47 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2021-04-08 06:02:47 -0400 |
| commit | 99fc9505107183faa59aad9e7753f293eba88836 (patch) | |
| tree | f615ac678c5dc194fd2aa3a9a048a188b761b0d9 /discord/http.py | |
| parent | Update joined command in basic_bot to use f-strings (diff) | |
| download | discord.py-99fc9505107183faa59aad9e7753f293eba88836.tar.xz discord.py-99fc9505107183faa59aad9e7753f293eba88836.zip | |
Use f-strings in more places that were missed.
Diffstat (limited to 'discord/http.py')
| -rw-r--r-- | discord/http.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/discord/http.py b/discord/http.py index 353410e4..1c7030f2 100644 --- a/discord/http.py +++ b/discord/http.py @@ -587,7 +587,7 @@ class HTTPClient: r = Route('DELETE', '/guilds/{guild_id}/members/{user_id}', guild_id=guild_id, user_id=user_id) if reason: # thanks aiohttp - r.url = '{0.url}?reason={1}'.format(r, _uriquote(reason)) + r.url = f'{r.url}?reason={_uriquote(reason)}' return self.request(r) @@ -599,7 +599,7 @@ class HTTPClient: if reason: # thanks aiohttp - r.url = '{0.url}?reason={1}'.format(r, _uriquote(reason)) + r.url = f'{r.url}?reason={_uriquote(reason)}' return self.request(r, params=params) |