From 7cb296cea18e69cbdbcff77ae66aaf35c03cae3f Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sat, 17 Apr 2021 03:53:27 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fixes=20#10?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- royalnet/engineer/router.py | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/royalnet/engineer/router.py b/royalnet/engineer/router.py index e64c99d2..b4c167da 100644 --- a/royalnet/engineer/router.py +++ b/royalnet/engineer/router.py @@ -82,7 +82,19 @@ class Router(c.Conversation, metaclass=abc.ABCMeta): if match: conversation = self.by_pattern[pattern] log.debug(f"Matched with {pattern!r}, running conversation {conversation}") - await conversation(_sentry=_sentry, **kwargs, _conv=conversation, _router=self) + await conversation( + **kwargs, + _sentry=_sentry, + _conv=conversation, + _msg=msg, + _text=text, + _router=self, + ) return else: log.debug("No matches found") + + +__all__ = ( + "Router", +)