1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2025-02-17 10:53:57 +00:00
royalnet/examplepack/commands/example.py

15 lines
331 B
Python
Raw Normal View History

2019-11-04 12:57:35 +01:00
from typing import *
from royalnet.commands import *
from royalnet.utils import *
2020-07-31 17:06:54 +02:00
# TODO: delete this file!
2019-11-04 12:57:35 +01:00
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!")