txlyre hai 1 ano
pai
achega
3ef5d11a9d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      commands.py

+ 1 - 1
commands.py

@@ -397,7 +397,7 @@ async def vpn_handler(bot, event, command):
 
   try:
     await bot.send_mesaage(
-      event.sender,
+      await bot.get_entity(sender_id),
       f'Ваш файл конфигурации WireGuard (сервер {command.args[0]}):\n\n```{profile}```'
     )
   except: