Initial NodeBB support; Add /wikipedia, /octospacc commands

This commit is contained in:
2025-05-10 01:06:23 +02:00
parent dc8e531079
commit a116a7e055
8 changed files with 181 additions and 55 deletions

View File

@@ -27,6 +27,12 @@ from hmac import new as hmac_new
TelegramClient = None
# def telegram_trim_message(text:str) -> str:
# return trim_message(text, 4096)
# def telegram_trim_caption(text:str) -> str:
# return trim_message(text, 1024)
def TelegramMain(path:str) -> bool:
if not TelegramToken:
return False