discord.js set playing tag

JavaScript
client.user.setActivity("hello world");

//Note, you have to define cilent
Source

Also in JavaScript: