everydaytok commited on
Commit
1b4fc86
·
verified ·
1 Parent(s): 66b0802

Update stateManager.js

Browse files
Files changed (1) hide show
  1. stateManager.js +2 -0
stateManager.js CHANGED
@@ -138,6 +138,8 @@ export const StateManager = {
138
  else if (typeof input === 'string') {
139
  const rawResponse = input;
140
  if (rawResponse.includes("[ASK_PM:")) return;
 
 
141
  if (rawResponse.includes("[GENERATE_IMAGE:") && !rawResponse.includes("```")) return;
142
 
143
  const codeMatch = rawResponse.match(/```(?:lua|luau)?([\s\S]*?)```/i);
 
138
  else if (typeof input === 'string') {
139
  const rawResponse = input;
140
  if (rawResponse.includes("[ASK_PM:")) return;
141
+ if (rawResponse.includes("[ASK_PM:")) return;
142
+ if (rawResponse.includes("[ROUTE_TO_PM:")) return;
143
  if (rawResponse.includes("[GENERATE_IMAGE:") && !rawResponse.includes("```")) return;
144
 
145
  const codeMatch = rawResponse.match(/```(?:lua|luau)?([\s\S]*?)```/i);