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