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
792 views
in Technique[技术] by (71.8m points)

discord.js - Facing Problems With Help Desk Bot

client.on('message', msg => {
    if (msg.channel.id === '803259607317348373') {
    msg.author.send("Pong!");
  }
});  

I Need to make a command like when someone type 1 the bot delete it and then dming him + cooling down it Like wait for 9 sec and etc i did this and it ends up the bot respond to anything i type on the channel 803259607317348373 known as #help-desk but still need to make him only respond to number and delete the number that user type or any text he type

question from:https://stackoverflow.com/questions/65887623/facing-problems-with-help-desk-bot

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
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

...