Don't need to refresh messages on bot start.
build_develop / build (push) Successful in 1m11s

This commit is contained in:
2024-05-16 09:13:34 -04:00
parent 70e4a84db3
commit eedaf1c71f
-1
View File
@@ -33,7 +33,6 @@ class ClanMessages(commands.Cog, name="Clan Messages"):
"""
Triggers when the bot is in ready state. Adds the webhook listener to FastAPI and serves.
"""
await self.update_messages()
app.add_api_route("/messages/", self.update_messages, methods=["POST"])
config = uvicorn.Config(app=app, host="0.0.0.0", port=5000, log_level="info")
server = uvicorn.Server(config)