让Alexa技能循环此功能的最简单方法是什么?下面的代码具有静态URL,但最后每次循环时都会更新。
'RandomVerse': function () {
connection.query('SELECT versetext, book, reference FROM myverses ORDER BY RAND() LIMIT 1',
function (error, results, fields) {
console.log(error);
console.log(results[0].versetext);
const AUDIO ='<audio src="https://s3.amazonaws.com/..." />'
this.emit(':tell', AUDIO);
}.bind(this));
},