W Saed
0
Q:

how to make a discord bot dm you

(user).send(message here);
0
//discord.js is probably the easiest to learn. To install do this
//in command prompt (Windows, Linux) or terminal (Mac)

npm init
//and then
npm i discord.js

//after that just read the discord.js.org documentation
//and follow a couple yt guides, maybe join some servers.
3
if(message.content.startsWith('!a')) {
    let use = message.author.id
    let name = message.author.username;
    (use).send(name);
  
0
mkdir musicbot && cd musicbot 
0

New to Communities?

Join the community