1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-26 21:14:19 +00:00

🐛 Pass _sentry to the conversation as a kwarg

This commit is contained in:
Steffo 2020-12-27 21:00:31 +01:00
parent 914f97aee8
commit 0d5a376ec0

View file

@ -50,7 +50,7 @@ class Dispenser:
:param conv: The conversation to run. :param conv: The conversation to run.
""" """
with self.sentry() as sentry: with self.sentry() as sentry:
state = conv(sentry) state = conv(_sentry=sentry)
while True: while True:
state = await state state = await state