mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-30 15:04:18 +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()}
|