1
0
mirror of https://gitlab.com/MisterBiggs/multi-bot-tutorial.git synced 2025-06-15 22:56:45 +00:00

filenames cant be the same as an import

This commit is contained in:
Anson 2019-07-11 21:23:37 -07:00
parent dc844dd812
commit 09a7758e0c
2 changed files with 1 additions and 2 deletions

View File

@ -1,4 +1,3 @@
import telegram
from telegram.ext import Updater, CommandHandler
@ -6,7 +5,7 @@ def hello(bot, update):
update.message.reply_text("Hello {}".format(update.message.from_user.first_name))
updater = Updater("YOUR TOKEN HERE")
updater = Updater("TOKEN")
updater.dispatcher.add_handler(CommandHandler("hello", hello))