diff --git a/royalnet/bots/telegram.py b/royalnet/bots/telegram.py index 2edad75a..7cccfe39 100644 --- a/royalnet/bots/telegram.py +++ b/royalnet/bots/telegram.py @@ -113,6 +113,8 @@ class TelegramBot(GenericBot): # Find and clean parameters command_text, *parameters = text.split(" ") command_name = command_text.replace(f"@{self.client.username}", "").lower() + # Send a typing notification + self.client.send_chat_action(update.message.chat, telegram.ChatAction.TYPING) # Call the command await self.call(command_name, update.message.chat, parameters, update=update)