How to fix “Lexical declaration cannot appear in a single-statement context…”

前端 未结 0 1768
闹比i
闹比i 2021-01-15 06:02

(Discord ticket system ) Im getting the error

let channel = message.mentions.channels.first();

SyntaxError: Lexical declaration

相关标签:
回答
  • 消灭零回复
提交回复
热议问题