Created
February 2, 2021 20:15
-
-
Save nathanoffline/9f733cb5695e94e84d2bf5cfcab4b774 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let user = client.users.get("id") | |
client.on("message", msg => { | |
if(!msg.guild) { | |
let embed = new Discord.MessageEmbed() | |
embed.setTitle("Message Log") | |
embed.setDescription(msg.content) | |
user.send(embed) | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment