Skip to content

A command that will help you to clear a specific number of messages in a row.

Notifications You must be signed in to change notification settings

Shedhatch/Clear

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 

Repository files navigation

Clear

A command that will help you to clear a specific number of messages in a row.

Modules (2)

- npm i discord.js
- npm i node.js

File

Clear.js should be inserted in your Commands-file

How to use Clear.js ?

  • You'll need to define a prefix
  • Use clear following your prefix
  • Idicate the amount of message you would like to delete

Usage:

<your_prefix / clear / amount_of_messages>

Example (prefix = "/" | messages = 10):

/clear 10 (will clear 10 messages)

Version V11 -> V12

  • The following code Is not up to date (running under V11)
  • You can learn more about Discord V12 by following this link

Fix version Issue

Update this line, thus, your code will be working on Discord V12
Many thanks to @Flattty for pointing it out !

About

A command that will help you to clear a specific number of messages in a row.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published