mirror of
https://github.com/andrey271192/Keenetic_SSH.git
synced 2026-09-21 14:51:57 +00:00
Keenetic SSH: standalone Telegram bot for Keenetic router SSH control
Made-with: Cursor
This commit is contained in:
10
keenetic_ssh/app.py
Normal file
10
keenetic_ssh/app.py
Normal file
@@ -0,0 +1,10 @@
|
||||
import asyncio, logging, sys
|
||||
|
||||
def main():
|
||||
logging.basicConfig(
|
||||
level=logging.INFO,
|
||||
format="%(asctime)s %(levelname)s %(name)s: %(message)s",
|
||||
stream=sys.stdout,
|
||||
)
|
||||
from .bot import telegram_loop
|
||||
asyncio.run(telegram_loop())
|
||||
Reference in New Issue
Block a user