Whoops!
This commit is contained in:
parent
c30328bb95
commit
c0ccb1642d
@ -1,8 +1,9 @@
|
|||||||
#!/usr/bin/python3
|
#!/usr/bin/python3
|
||||||
|
TOKEN=''
|
||||||
|
|
||||||
|
|
||||||
from telegram import Update, Chat, ChatMember, ParseMode, ChatMemberUpdated, BotCommand
|
from telegram import Update, Chat, ChatMember, ParseMode, ChatMemberUpdated, BotCommand
|
||||||
|
|
||||||
from telegram.ext import Updater, CommandHandler, ChatMemberHandler, CallbackContext, MessageHandler, Filters
|
from telegram.ext import Updater, CommandHandler, ChatMemberHandler, CallbackContext, MessageHandler, Filters
|
||||||
|
|
||||||
import telegram
|
import telegram
|
||||||
import logging
|
import logging
|
||||||
import os.path
|
import os.path
|
||||||
@ -14,8 +15,8 @@ config = {}
|
|||||||
|
|
||||||
|
|
||||||
reply_markup = None
|
reply_markup = None
|
||||||
bot = telegram.Bot(token='1733773979:AAHUhDIA4jj8hIr_Cc90bSkgJ6U4L4doTew')
|
bot = telegram.Bot(token=TOKEN)
|
||||||
updater = Updater(token='1733773979:AAHUhDIA4jj8hIr_Cc90bSkgJ6U4L4doTew', use_context=True)
|
updater = Updater(token=TOKEN, use_context=True)
|
||||||
dispatcher = updater.dispatcher
|
dispatcher = updater.dispatcher
|
||||||
|
|
||||||
logging.basicConfig(format='%(asctime)s - %(name)s - %(levelname)s - %(message)s', level=logging.INFO)
|
logging.basicConfig(format='%(asctime)s - %(name)s - %(levelname)s - %(message)s', level=logging.INFO)
|
||||||
|
Loading…
Reference in New Issue
Block a user