Move the webhook listener into a cog so that I have access to the bot for the action method.

This commit is contained in:
2024-05-14 16:04:52 -04:00
parent 3fec5fab41
commit 4ae31159dc
3 changed files with 38 additions and 19 deletions
-9
View File
@@ -1,9 +0,0 @@
from fastapi import APIRouter
router = APIRouter()
@router.post("/message/")
async def hello():
print("we did a webhook")
return {"message": "webhook get"}