Pass all Updates when building events

This commit is contained in:
Lonami Exo
2019-06-30 16:32:18 +02:00
parent 71979e7b23
commit a7a7c4add2
12 changed files with 20 additions and 20 deletions

View File

@@ -46,7 +46,7 @@ class InlineQuery(EventBuilder):
raise TypeError('Invalid pattern type given')
@classmethod
def build(cls, update):
def build(cls, update, others=None):
if isinstance(update, types.UpdateBotInlineQuery):
return cls.Event(update)