1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 19:44:20 +00:00
royalnet/royalpack/stars/api_discord_cv.py

12 lines
366 B
Python

from starlette.requests import Request
from starlette.responses import *
from royalnet.constellation.api import *
from royalnet.utils import *
class ApiDiscordCvStar(ApiStar):
path = "/api/discord/cv/v1"
async def api(self, data: ApiData) -> dict:
response = await self.interface.call_herald_event("discord", "discord_cv")
return response