MCPcopy
hub / github.com/nonebot/nonebot2 / command

Function command

tests/plugins/param/param_state.py:39–40  ·  view source on GitHub ↗
(cmd: tuple[str, ...] = Command())

Source from the content-addressed store, hash-verified

37
38
39async def command(cmd: tuple[str, ...] = Command()) -> tuple[str, ...]:
40 return cmd
41
42
43async def raw_command(raw_cmd: str = RawCommand()) -> str:

Callers

nothing calls this directly

Calls 1

CommandFunction · 0.90

Tested by

no test coverage detected