Spaces:
Sleeping
Sleeping
pink-mothra
commited on
Commit
•
4e0a07b
1
Parent(s):
0017a4a
Update app.py
Browse files
app.py
CHANGED
@@ -1,12 +1,9 @@
|
|
1 |
-
import
|
2 |
-
|
3 |
-
import telebot
|
4 |
-
|
5 |
import requests
|
|
|
6 |
|
7 |
-
|
8 |
-
|
9 |
-
bot = telebot.TeleBot(BOT_TOKEN)
|
10 |
|
11 |
|
12 |
@bot.message_handler(commands=['start', 'hello'])
|
|
|
1 |
+
from telegram import Update
|
2 |
+
from telegram.ext import Updater, CommandHandler, CallbackContext, MessageHandler, Filters
|
|
|
|
|
3 |
import requests
|
4 |
+
import os
|
5 |
|
6 |
+
updater = Updater(os.environ['BOT_TOKEN'])
|
|
|
|
|
7 |
|
8 |
|
9 |
@bot.message_handler(commands=['start', 'hello'])
|