SoulFire TypeScript SDK 2.10.3
    Preparing search index...
    CommandScope: Message<"soulfire.v1.CommandScope"> & {
        scope:
            | { case: "global"; value: GlobalCommandScope }
            | { case: "instance"; value: InstanceCommandScope }
            | { case: "bot"; value: BotCommandScope }
            | { case: undefined; value?: undefined };
    }

    Defines the execution context for a command, determining which instances and bots the command can affect. The scope also determines required permissions.

    Type Declaration

    • scope:
          | { case: "global"; value: GlobalCommandScope }
          | { case: "instance"; value: InstanceCommandScope }
          | { case: "bot"; value: BotCommandScope }
          | { case: undefined; value?: undefined }

      from oneof soulfire.v1.CommandScope.scope

    from message soulfire.v1.CommandScope