aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHornwitser <[email protected]>2018-10-17 03:56:00 +0200
committerRapptz <[email protected]>2018-11-24 22:17:58 -0500
commit1c3a5831f9aa501b18dbaef5b061fc1478b6556a (patch)
tree327a37d4f2439e69e6fcf4bfb8a8111a26bb9ee2
parent[lint] Remove extra whitespace in guild.py (diff)
downloaddiscord.py-1c3a5831f9aa501b18dbaef5b061fc1478b6556a.tar.xz
discord.py-1c3a5831f9aa501b18dbaef5b061fc1478b6556a.zip
[lint] Removed unused variable handler
Left over by the removal of handlers in 2721689.
-rw-r--r--discord/client.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/discord/client.py b/discord/client.py
index 941f9369..50eacb2a 100644
--- a/discord/client.py
+++ b/discord/client.py
@@ -236,7 +236,6 @@ class Client:
def dispatch(self, event, *args, **kwargs):
log.debug('Dispatching event %s', event)
method = 'on_' + event
- handler = '_handle_' + event
listeners = self._listeners.get(event)
if listeners: