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
2020-07-01 16:47:30 +02:00

11 lines
241 B
Python

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