Spaces:
Sleeping
Sleeping
Aleksandr Maiorov
commited on
Commit
·
b0c9cf5
1
Parent(s):
735d41d
v0.4
Browse files- update
bot.py
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
import os
|
2 |
from telegram import Update
|
3 |
from telegram.ext import Application, CommandHandler, MessageHandler, filters, ContextTypes
|
|
|
4 |
|
5 |
-
TOKEN = os.environ["TELEGRAM_TOKEN"]
|
6 |
|
7 |
# Команды
|
8 |
async def start_command(update: Update, context: ContextTypes.DEFAULT_TYPE):
|
|
|
1 |
import os
|
2 |
from telegram import Update
|
3 |
from telegram.ext import Application, CommandHandler, MessageHandler, filters, ContextTypes
|
4 |
+
TOKEN = os.getenv("TELEGRAM_TOKEN")
|
5 |
|
|
|
6 |
|
7 |
# Команды
|
8 |
async def start_command(update: Update, context: ContextTypes.DEFAULT_TYPE):
|