Discord Bot Status JavaScript

//in your main bot file
client.on('ready', () => {
    client.user.setActivity({
        name: "A Game",
        type: "PLAYING"
        
    });
});
RG73