five-on-it / packages/protocol/src/cops / parseBountiesCommand
Function: parseBountiesCommand()
parseBountiesCommand(
text): {on:boolean;type:"bounties"; } |undefined
Defined in: packages/protocol/src/cops.ts:115
Parses a text frame as the bounty board's switch; undefined when it is not one.
Parameters
text
string
Returns
{ on: boolean; type: "bounties"; } | undefined