Fray Electron
    Preparing search index...

    Function isCommand

    • Tests a decoded prefix against a command identifier.

      Parameters

      • prefix: Prefix

        Routing prefix.

      • id: number

        Command identifier.

      Returns boolean

      Whether both category and identifier match.