diff --git a/royalnet/bots/telegram.py b/royalnet/bots/telegram.py index b61884ef..f6fd4a95 100644 --- a/royalnet/bots/telegram.py +++ b/royalnet/bots/telegram.py @@ -76,6 +76,8 @@ class TelegramBot(GenericBot): result = await asyncify(query.one_or_none) if result is None and error_if_none: raise UnregisteredError("Author is not registered") + return result + return TelegramCall def __init__(self, *,