mirror of
https://codeberg.org/JasterV/YoutuBot.git
synced 2026-04-26 18:40:02 +00:00
Update app.py
This commit is contained in:
parent
5b72e76bfb
commit
dc5292f21b
1 changed files with 1 additions and 2 deletions
3
app.py
3
app.py
|
|
@ -2,12 +2,11 @@ import telebot
|
||||||
import time
|
import time
|
||||||
import pafy
|
import pafy
|
||||||
import os
|
import os
|
||||||
from flask import Flask
|
|
||||||
|
|
||||||
|
|
||||||
bot_token = '837420348:AAEY2WT04zBjpCHYvOzCdy4FHhZf8jX6udE'
|
bot_token = '837420348:AAEY2WT04zBjpCHYvOzCdy4FHhZf8jX6udE'
|
||||||
bot = telebot.TeleBot(token=bot_token)
|
bot = telebot.TeleBot(token=bot_token)
|
||||||
server = Flask(__name__)
|
|
||||||
|
|
||||||
@bot.message_handler(commands=['start'])
|
@bot.message_handler(commands=['start'])
|
||||||
def send_welcome(message):
|
def send_welcome(message):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue