Discord Clear Command

How do i make a command that deletes messages so when i do (prefix)clear (example: 5) it deletes 5 messages?

This link should help. MessageManager#delete | discord.js
If you need more help feel free to reply.

Happy coding!

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.