Browse Source

[lint] Removed unused variable handler

Left over by the removal of handlers in 2721689.
pull/1739/head
Hornwitser 7 years ago
committed by Rapptz
parent
commit
1c3a5831f9
  1. 1
      discord/client.py

1
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:

Loading…
Cancel
Save