简体   繁体   中英

My discord bot is not replying to me even with correct prefix

so I just start coding a baisc discod bot and upgrade it later on but my dc bot just wont reply to me heres the code: reply bot prototype

Maybe this can help you

const args = message.content.split(/[\s]+/)

const command = args[0].replace(prefix,"")

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM