1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-27 13:34:28 +00:00
royalnet/pycharm_templates/event.vm

11 lines
266 B
Text

from typing import *
import royalnet
import royalnet.commands as rc
#set($CAPITALIZED_NAME = $NAME.substring(0,1).toUpperCase() + $NAME.substring(1))
class ${CAPITALIZED_NAME}Event(Event):
name = "$NAME"
async def run(self, **kwargs) -> dict:
...