简体   繁体   English

有人可以恢复我的代码并告诉它有什么问题[暂停]

[英]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.

相关问题 有人可以告诉我我的代码有什么问题吗? 返回正确的世纪 - Can someone tell me what's wrong with my code? Return correct century JavaScript:有人可以告诉我我的代码出了什么问题吗? - JavaScript: Can someone tell me what's going wrong with my code? 有人可以告诉我我的下拉菜单javascript代码有什么问题吗 - Can someone tell me what's wrong with my dropdown menu javascript code 有人请告诉我$ .parseJSON有什么问题[javascript / jquery] - Someone please tell me what is wrong with my $.parseJSON [javascript / jquery] JavaScript 基本代码告诉我它有什么问题 - JavaScript basic code tell what is my wrong with it 有人可以解释我试图比较 2 arrays 的代码有什么问题吗? - Can someone explain what is wrong with my code that is trying to compare 2 arrays? 我的 java 脚本代码有什么问题,我无法运行它,[暂停] - what is wrong with my java script code, i cannot run it, [on hold] 我正在学习编码,有人可以告诉我哪里错了吗? - I am learning to code, can someone please tell me what is wrong? 我正在为一堂课制作井字游戏。 有人可以看一下我的代码并告诉我我做错了什么吗? - i am building a tic tac toe game for a class. can someone look at my code and tell me what i am doing wrong? 谁能告诉我我的代码有什么问题? - Can anyone tell me what is wrong with my code?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM