[英]could someone revive my code and tell what is wrong with it [on hold]
the error is SyntaxError: Unexpected end of input and it's right at the end with this code client.login(token);
错误是 SyntaxError: Unexpected end of input 并且就在这个代码的末尾
client.login(token);
This is the full code: https://textsaver.flap.tv/lists/2xc5这是完整的代码: https://textsaver.flap.tv/lists/2xc5
You have not closed paranthesis of following code.您尚未关闭以下代码的括号。
client.on('message', message => { ....
your code should end as,你的代码应该结束,
if (!channel) return;
channel.send(`Hey ${member}, Welcome to Vlad's Downtown :tada: :hugging: !`);
});
});
client.login(token)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.