Answer the question
In order to leave comments, you need to log in
BAD_REQUEST what to do?
The code:
from threading import Thread
from flask import Flask, render_template
@app.route("/")
def _hello():
return render_template("hello.html", bot_name = bot.user.name)
def run():
app.run(host='0.0.0.0', port=8080)
server = Thread(target=run)
server.start()
bot.run(BOT["token"])
<html>
<head>
<title>wBot - Бот с высокими технологиями!</title>
<link rel="stylesheet" href="stylehel.css">
</head>
<body>
<h1>{{ bot_name }}</h1>
<br>
<b>Приветствует вас!</b>
<br>
<b>Что умеет этот бот?</b>
<br>
<b>Пока что, этот бот только умеет музыку воспроизводить, но за то он хоть с какой то DASHBOARD панелью!</b>
<button><a href="">Добавить</a></button>
<button><a href="">Перейти в DASHBOARD</a></button>
</body>
</html>
Answer the question
In order to leave comments, you need to log in
It looks like you are trying to access the site using http s instead of http.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question