1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2025-02-25 14:15:04 +00:00
royalnet/examplepack/commands/example.py

13 lines
304 B
Python
Raw Normal View History

2020-06-21 16:38:25 +02:00
from typing import *
from royalnet.commands import *
from royalnet.utils import *
class ExampleCommand(Command):
name: str = "example"
description: str = "Say Hello to the world!"
async def run(self, args: CommandArgs, data: CommandData) -> None:
await data.reply("Hello world!")