Chandima Prabhath commited on
Commit
6abd01e
·
1 Parent(s): 27ddf15

Add startup message to notify when the bot is online with available commands

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -456,5 +456,9 @@ def index():
456
  return "Server is running!"
457
 
458
  if __name__ == "__main__":
 
 
 
 
459
  import uvicorn
460
  uvicorn.run(app, host="0.0.0.0", port=7860)
 
456
  return "Server is running!"
457
 
458
  if __name__ == "__main__":
459
+ client.send_message_to(
460
+ BotConfig.BOT_GROUP_CHAT,
461
+ "🤖 *Eve is online!* Commands:\n" + help_text
462
+ )
463
  import uvicorn
464
  uvicorn.run(app, host="0.0.0.0", port=7860)