/instruct command: don't return current template name if instruct mode is disabled
| @@ -8563,7 +8563,7 @@ async function selectContextCallback(args, name) { | |||
| 8563 | 8563 | ||
| 8564 | async function selectInstructCallback(args, name) { | 8564 | async function selectInstructCallback(args, name) { |
| 8565 | if (!name) { | 8565 | if (!name) { |
| 8566 | return power_user.instruct.preset; | 8566 | return power_user.instruct.enabled ? power_user.instruct.preset : ''; |
| 8567 | } | 8567 | } |
| 8568 | 8568 | ||
| 8569 | const quiet = isTrueBoolean(args?.quiet); | 8569 | const quiet = isTrueBoolean(args?.quiet); |
| @@ -9274,7 +9274,7 @@ jQuery(async function () { | |||
| 9274 | ], | 9274 | ], |
| 9275 | helpString: ` | 9275 | helpString: ` |
| 9276 | <div> | 9276 | <div> |
| 9277 | Selects instruct mode template by name. Gets the current instruct template if no name is provided. | 9277 | Selects instruct mode template by name. Gets the current instruct template if no name is provided and instruct mode is enabled. |
| 9278 | </div> | 9278 | </div> |
| 9279 | <div> | 9279 | <div> |
| 9280 | <strong>Example:</strong> | 9280 | <strong>Example:</strong> |