mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-27 21:44:21 +00:00
13 lines
304 B
Python
13 lines
304 B
Python
|
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!")
|