Discord bot status javascript

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