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

10 lines
264 B
Python
Raw Normal View History

2020-02-08 00:49:07 +00:00
from royalnet.constellation.api import *
2019-11-29 19:05:09 +00:00
2020-02-08 00:49:07 +00:00
class ApiDiscordCvStar(ApiStar):
path = "/api/discord/cv/v1"
2019-11-29 19:05:09 +00:00
2020-02-08 00:49:07 +00:00
async def api(self, data: ApiData) -> dict:
2019-12-29 23:07:48 +00:00
response = await self.interface.call_herald_event("discord", "discord_cv")
2020-02-08 00:49:07 +00:00
return response