txlyre 1 년 전
부모
커밋
3ef5d11a9d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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: