Im making a discord.js bot. Im trying to make that whenever someone types a command on discord it opens a program on my pc.
client.on(“message”, (message) => {
if(message.content == “!ping”){
;//here I want to open a program on my pc
}
});
Blancer.com Tutorials and projects
Freelance Projects, Design and Programming Tutorials
Im making a discord.js bot. Im trying to make that whenever someone types a command on discord it opens a program on my pc.
client.on(“message”, (message) => {
if(message.content == “!ping”){
;//here I want to open a program on my pc
}
});