From ce143d1da4d45ed8f4c606f9bddbd10f387018cf Mon Sep 17 00:00:00 2001 From: Andrei Date: Wed, 14 Feb 2018 21:13:10 -0800 Subject: [PATCH] fix incorrect paren positioning from last commit --- disco/state.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/disco/state.py b/disco/state.py index 3f33dea..e110c72 100644 --- a/disco/state.py +++ b/disco/state.py @@ -133,7 +133,7 @@ class State(object): for event in self.EVENTS: func = 'on_' + underscore(event) - self.listeners.append(self.client.events.on(event, getattr(self, func)), priority=Priority.BEFORE) + self.listeners.append(self.client.events.on(event, getattr(self, func), priority=Priority.BEFORE)) def fill_messages(self, channel): for message in reversed(next(channel.messages_iter(bulk=True))):