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

12 lines
247 B
Python
Raw Normal View History

2020-06-30 22:11:14 +00:00
from typing import *
import royalnet
import royalnet.commands as rc
2020-07-01 14:47:30 +00:00
import datetime
2020-06-30 22:11:14 +00:00
2020-08-21 00:34:29 +00:00
class PongEvent(rc.HeraldEvent):
2020-06-30 22:11:14 +00:00
name = "pong"
async def run(self, **kwargs) -> dict:
2020-07-01 14:47:30 +00:00
return {"timestamp": datetime.datetime.now().timestamp()}