bothy-sdk
    Preparing search index...

    Function ownCommands

    • Returns the agent's own commands by name over every served channel.

      Parameters

      • api: CommandClient

        An openapi-fetch client of the public API.

      • agentId: string

        The agent's principal ID.

      Returns Promise<Map<string, {}>>

      Own commands by name; an instance-wide command listed in several channels counts once.

      ProblemError when a list is refused.