mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-12-17 23:24:20 +00:00
11 lines
241 B
Python
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()}
|