How can i fix (node:1024) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'includes' of undefined in nodejs

后端 未结 0 1492
囚心锁ツ
囚心锁ツ 2020-12-20 21:49

the error is from this line:

    if (!args[1].includes("m","h","d","mo","y")) return message.channel.send(&q         


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