Skip to content
/ Rate Public

Rate.js Is a command that will give you the choice to rate any users within your discord server.

Notifications You must be signed in to change notification settings

Shedhatch/Rate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Rate

Rate.js Is a command that will give you the choice to rate any users within your discord server.

Modules (2)

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

File

Timer.js should be inserted in your Commands-file

How to use Rate.js ?

  • You'll need to define a prefix ("/" by default).
  • Use rate following your prefix.
  • Indicate the user you would like to rate by mentioning them.

Global usage:

<your_prefix / rate / @user>

Example (prefix = "/" | user = "@Shedhatch"):

/rate @Shedhatch (will return a random number between 0 and 10)

Additional feature

Wanna get rated 10/10 everytime ?
Imagine bypassing the rate system ?


Well, I'll give you an additionnal feature that will help you to do so!

🤫 pssst It's right here
let admin = "id";
  • Now let's return our secret rate !
if(ratus.id === admin) {
  return message.channel.send(`I'd give **__${ratus.user.username}__** ${maxrate}/10`);
  }

Still having troubles to understand ? Don't worry this part Is fully included in the final code!

Version V11 -> V12

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

About

Rate.js Is a command that will give you the choice to rate any users within your discord server.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published