Change user nickname with discord.js
<p>I wonder if you can help (I search it and nothing...) I am learning how to work with discord.js node and I want to change my user nickname (not the username itself)</p>

<p>My code is</p>

<pre><code>const Discord = require('discord.js');
const client = new Discord.Client();
client.on('ready', () =&gt; {
    console.log('I am ready!');
});

client.on('message', message =&gt; {
    if (message.content.includes('changeNick')) {
        client.setNickname({nick: message.content.replace('changeNick ', '')});
    }
});

client.login('token');
</code></pre>