commands: fix LegacyCommand type
Maddy 10 months ago 2cd4f013 f143fd0a
··· 121 121 }; 122 122 123 123 export type LegacyCommand = { 124 124 - match?: RegExp; 124 124 + match?: { 125 125 + regex: RegExp; 126 126 + }; 125 127 action: (content: string, context: LegacyContext) => LegacyReturn; 126 128 };