When I executed the code below, the message was replied, but it was mentioned.
Please tell me how someone won't mention it.
v13.
message.reply({
content: "hoge"
allowedMentions: {
parse —[ ]
}
})
Since the code has a shape of v12 and []
, what about TypeScript?
I think you should check it out.
Below is the code for v13!Good luck!
client.on('messageCreate',message=>{
if(message.author.bot)return;
if(message.content.includes('<reactive word>'){
message.channel.send('<Bot Returns>);
}
});
© 2024 OneMinuteCode. All rights reserved.