📌  相关文章
📜  如何记录所有消息 discord.js - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:08.055000             🧑  作者: Mango

代码示例1
const fetched = await client.channels.get("505989241600213012")
.fetchMessages({limit: 1})
.then(messages => console.log(`[${messages.first().author.name}]${messages.first().content}`));