I've been looking for it for a while on old posts couldn't find anything new. Is this code outdated or is there like a work around for this?
client.on('message', message => {
if (message.content === 'test') {
message.author.send('tested1');
}
});
My conclusion is that the bot can't see the message but I do not know how else I could make a command reply