1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-27 13:34:28 +00:00
royalnet/royalpack/events/pong.py
2020-08-21 02:34:29 +02:00

11 lines
247 B
Python

from typing import *
import royalnet
import royalnet.commands as rc
import datetime
class PongEvent(rc.HeraldEvent):
name = "pong"
async def run(self, **kwargs) -> dict:
return {"timestamp": datetime.datetime.now().timestamp()}