Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.4k views
in Technique[技术] by (71.8m points)

discord - Declaration or statement expected. ts(1128

I am new to coding and i am trying to male it so it responds when i say ?rules but i got the message: Declaration or statement expected. ts(1128)

here is my code

else if(message.content.toLowerCase() === 'rules'){ message.reply('**the rules** **1.** do not be racist **2.** do not be mean **3.** feel free to share your problems **4.** have fun **5.** do not spam messages, pictures or videos and yes sweaing is allowed') }

question from:https://stackoverflow.com/questions/66062291/declaration-or-statement-expected-ts1128

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...