Responses to bot commands #6955
-
Hey ! Recently, when I was coding, I went in a trouble. In the bot that I actually use (so not the mine), it is possible to answer commands. For an example, you can type "!clear" and the bot asks you how many messages you want to delete. If you answer by a number, it will delete as any messages as specified by this number. I tried with the "Client.on("message")" technique, but the problem is that you can only response once. Could you help me please ? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
You should try using awaitMessages |
Beta Was this translation helpful? Give feedback.
-
Hi, I was wondering if your issue has been resolved? |
Beta Was this translation helpful? Give feedback.
You should try using awaitMessages