# ruff: noqa: F821, I001
from __future__ import annotations

from typing import TYPE_CHECKING

if TYPE_CHECKING: from router import Event

class Module:
    @loader.command("hello", access="owner", source="both")
    async def hello(self, ctx: Event) -> None:
        name = ctx.args.strip() or "friend"
        await ctx.reply(f"Hello, {name}!")
