I wanted to add a tooltip to my workinprogress bot, but I got this error.
/home/runner/simplebot/index.js:46 .setColor("#4287f5").setTitle("ToolTip Example").setDescription('Hover for tooltip': [(i)](${ message.url } 'Hey look! Its a tooltip!') ); message.channel.send(tooltipEmbed); ^^^^^^^^^^^^^^^^^^^
SyntaxError: missing ) after argument list
This is my code
{
const tooltipEmbed = new Discord.MessageEmbed()
.setColor("#4287f5").setTitle("ToolTip Example").setDescription('Hover for tooltip': [(i)](${ message.url } 'Hey look! Its a tooltip!') ); message.channel.send(tooltipEmbed);
}
Can someone help me with this?
Thanks!
-Sam