Geoffrey-Django/urls.py

14 lines
266 B
Python

from django.urls import path
from multiprocessing import Process
from GeoffreyApp.api.discord_bot.bot import start_bot
from . import views
urlpatterns = [
path('', views.index, name='index'),
]
p = Process(target=start_bot)
p.start()
print("Thread start...")