Skip to content

Instantly share code, notes, and snippets.

@zachlim98
Last active October 26, 2020 02:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zachlim98/ee1156fc93d03c2f1549b21e02aa4c85 to your computer and use it in GitHub Desktop.
Save zachlim98/ee1156fc93d03c2f1549b21e02aa4c85 to your computer and use it in GitHub Desktop.
import logging
import telegram
from telegram.ext import Updater, CommandHandler, MessageHandler, Filters
# Enable logging
logging.basicConfig(format='%(asctime)s - %(name)s - %(levelname)s - %(message)s',
level=logging.INFO)
logger = logging.getLogger(__name__)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment