The main command should be of type regex
, the trigger should be .*
like so.
The command has a few config options at the top:
$channel
can be set to either0
or a channel ID. If specified rankup messages will be sent to that channel, otherwise they are sent to the channel where the user ranks up.$cooldown
is the cooldown in seconds between messages which are counted towards the user's total message count, this is to prevent spam.$ranks
are the actual roles which are assigned to the user at specific message counts, you may add as many ranks as you want in the format of(cslice <roleid> <msg-required>)
$prefix
Removed for nowis the prefix to your commands, this will allow you to match your server prefix if needed.
To complete the setup type-config
, this will update your settings and inform you if anything is setup incorrectly.
Once you have completed the setup correctly, you will be able to use-rank
and-leaderboard/-lb.
- Add footer to -rank showing progress to next rank in % and messages/required
- Allow -config command to have flags -ranks -channel and -cooldown so that the config can be changed in discord
- Add a -ranks command or something similar to display all rank rewards nicely
- Refer to an early version of the command to implement a custom prefix
- A command list?
- Proper docs
- Eventually add support for leaderboard paginating (this is something that I have done before but removed because I wanted this all to be one command)