it says the “}” after the “here u go” is an unexpected token, when its not???
client.on("message", message => {
if(message.content === "sophia send selfie") {
message.channel.send ({files: ['https://cdn.hyperdev.com/click-me.svg?1477239469954'],"Here you go."})
}})
tleylan
September 8, 2021, 8:54pm
3
A parser does its best to figure out your intent but it can’t know what that is. You’ve introduced problem with the ‘, “Here you go.”’ which isn’t expected.
client.on(“message”, message => {
if(message.content === “sophia send selfie”) {
message.channel.send({ files: [‘https://cdn.hyperdev.com/click-me.svg?1477239469954 ’] })
}
});
system
Closed
March 7, 2022, 9:15pm
5
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.