简体   繁体   中英

Discord.js and sql

    .setDescription(
${[result[1].name_hebrow]}
${[result[2].name_hebrow]}
)

How can I view the list without adding one at a time? As if every attempt I made with this thing failed

You can try this:

.setDescription(`${result.map(e => {
    return e.name_hebrow
}).join(" ")}`)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM