update
This commit is contained in:
10
check_telegram.py
Normal file
10
check_telegram.py
Normal file
@@ -0,0 +1,10 @@
|
||||
import sys
|
||||
try:
|
||||
import telegram
|
||||
print(f"Telegram library found. Version: {telegram.__version__}")
|
||||
from telegram import Bot
|
||||
print("Bot class imported successfully.")
|
||||
except ImportError as e:
|
||||
print(f"ImportError: {e}")
|
||||
except Exception as e:
|
||||
print(f"Error during import: {e}")
|
||||
Reference in New Issue
Block a user