aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRapptz <[email protected]>2017-02-09 02:44:45 -0500
committerRapptz <[email protected]>2017-02-09 02:45:44 -0500
commitae30d2a8806577450bef7e39cbd2bc198adbe685 (patch)
tree2b7ecfaca9ad22f67f7c4f30c4180d84143407e1
parentRemove unused constants in HTTPClient (diff)
downloaddiscord.py-ae30d2a8806577450bef7e39cbd2bc198adbe685.tar.xz
discord.py-ae30d2a8806577450bef7e39cbd2bc198adbe685.zip
Removed unused variables in routes.
-rw-r--r--discord/http.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/discord/http.py b/discord/http.py
index 585dd7b0..a544a5aa 100644
--- a/discord/http.py
+++ b/discord/http.py
@@ -368,7 +368,6 @@ class HTTPClient:
return self.request(r)
def logs_from(self, channel_id, limit, before=None, after=None, around=None):
- url = '{0.CHANNELS}/{1}/messages'.format(self, channel_id)
params = {
'limit': limit
}