mirror of
https://gitlab.com/MisterBiggs/multi-bot-tutorial.git
synced 2025-06-16 07:06:51 +00:00
filenames cant be the same as an import
This commit is contained in:
parent
dc844dd812
commit
09a7758e0c
@ -1,4 +1,3 @@
|
|||||||
import telegram
|
|
||||||
from telegram.ext import Updater, CommandHandler
|
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))
|
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))
|
updater.dispatcher.add_handler(CommandHandler("hello", hello))
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user