Spaces:
Running
Running
Aditya Sharma
commited on
Commit
·
4cb0b20
1
Parent(s):
3b7c07e
pinger
Browse files
main.py
CHANGED
@@ -57,6 +57,9 @@ async def on_message(message):
|
|
57 |
async def server_id(ctx):
|
58 |
await ctx.send(f"The server ID is: {ctx.guild.id}")
|
59 |
|
|
|
|
|
|
|
60 |
|
61 |
def start_flask():
|
62 |
app.run(port=7860, host="0.0.0.0", debug=False)
|
|
|
57 |
async def server_id(ctx):
|
58 |
await ctx.send(f"The server ID is: {ctx.guild.id}")
|
59 |
|
60 |
+
@app.get("/")
|
61 |
+
def get_ping():
|
62 |
+
return "I am good"
|
63 |
|
64 |
def start_flask():
|
65 |
app.run(port=7860, host="0.0.0.0", debug=False)
|