Aditya Sharma commited on
Commit
4cb0b20
·
1 Parent(s): 3b7c07e
Files changed (1) hide show
  1. main.py +3 -0
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)