repl.it
@mat1/

ReplDex-1

Python

No description

fork
loading
Files
  • main.py
  • static
  • templates
  • admins.txt
  • api.py
  • baseurl.txt
  • betterbot.py
  • checklist.txt
  • commands.py
  • config.py
  • database.py
  • discordbot.py
  • editors.txt
  • images.py
  • server.py
  • utils.py
  • Packager files
  • poetry.lock
  • pyproject.toml
  • requirements.txt
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
from aiohttp import web

routes = web.RouteTableDef()

@routes.get('/')
async def hello(request):
	return web.Response(text="Hello, world")

app = web.Application()
app.add_routes(routes)
web.run_app(app)

# import api
# import server
# import discordbot

# print('starting')

# server.start_server(
# 	discordbot.client.loop,
# 	discordbot.start_bot(),
# 	discordbot.client
# )
Fetching token
?