This commit is contained in:
Bandie 2021-06-11 19:18:44 +02:00
parent c30328bb95
commit c0ccb1642d
Signed by: Bandie
GPG Key ID: 843D7FA93BA46312

View File

@ -1,8 +1,9 @@
#!/usr/bin/python3
TOKEN=''
from telegram import Update, Chat, ChatMember, ParseMode, ChatMemberUpdated, BotCommand
from telegram.ext import Updater, CommandHandler, ChatMemberHandler, CallbackContext, MessageHandler, Filters
import telegram
import logging
import os.path
@ -14,8 +15,8 @@ config = {}
reply_markup = None
bot = telegram.Bot(token='1733773979:AAHUhDIA4jj8hIr_Cc90bSkgJ6U4L4doTew')
updater = Updater(token='1733773979:AAHUhDIA4jj8hIr_Cc90bSkgJ6U4L4doTew', use_context=True)
bot = telegram.Bot(token=TOKEN)
updater = Updater(token=TOKEN, use_context=True)
dispatcher = updater.dispatcher
logging.basicConfig(format='%(asctime)s - %(name)s - %(levelname)s - %(message)s', level=logging.INFO)