Answers for "how to log all messages discord.js"

1

how to log all messages discord.js

const fetched = await client.channels.get("505989241600213012")
.fetchMessages({limit: 1})
.then(messages => console.log(`[${messages.first().author.name}]${messages.first().content}`));
Posted by: Guest on August-15-2020

Code answers related to "how to log all messages discord.js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language