diff --git a/languages/thingtalk/load-thingpedia.ts b/languages/thingtalk/load-thingpedia.ts index 5f6bc7ce7..ed5bb2397 100644 --- a/languages/thingtalk/load-thingpedia.ts +++ b/languages/thingtalk/load-thingpedia.ts @@ -843,7 +843,7 @@ export default class ThingpediaLoader { return; if (!this._options.flags.configure_actions && (ex.value.invocation.channel === 'configure' || ex.value.invocation.channel === 'discover')) return; - if (['say', 'debug_log', 'faq_reply'].includes(ex.value.invocation.channel)) + if (ex.type === 'action' && ['say', 'debug_log', 'faq_reply'].includes(ex.value.invocation.channel)) return; } if (ex.value instanceof Ast.FunctionCallExpression) // timers