Ask coding questions

← Back to all posts
flask problem
AhanaHazzelnutz (0)

So I tried my bot for discord to work but it doesn't use the Flask webdriver or even let me download Flask webdriver of the said version,
here is the code

from flask import Flask
from threading import Thread

app = Flask('')

@app.route('/')
def home():
    return "ALIVE!"

def run():
  app.run(host='0.0.0.0',port=8080)

def alive():
    t = Thread(target=run)
    t.start()