I have some code and when I type '${prefix}test' instead of making it !test it is ${prefix}test
console.log('${bot.user.tag} logged in.');
What this says is ${bot.user.tag} logged in. not Friend logged in.
Looks like you are just missing back-ticks. This is known as a template literal.
console.log(`${bot.user.tag} logged in.`);
1.4m articles
1.4m replys
5 comments
57.0k users