Requires Node v16.9.0
License: MIT
- Show rank stats embed for a player.
/rank
- Stats for player with the Discord user's username or nickname./rank username
- Stats for playerusername
./x
- Send message on the staff channel (See this)./mute user
- Mute Discord member./unmute user
- Unmute Discord member./leaders
- Redirect to the leaderboard channel.
- Posts leaderboard to a channel, editing existing messages.
- Create Discord bot and application using the Discord Developer Portal, as shown in this guide.
- Invite the Discord bot to the desired server, as shown in this guide.
- Install NodeJS v16.9.0 or higher
- Install dependencies:
npm install
. - Run with environment variables:
GUILD_ID=guild_id RANKINGS_CHANNEL=id TOKEN=discord_token npm start
GUILD_ID
- Guild ID used for slash commands.RANKINGS_CHANNEL
- Channel ID for the leaderboard.TOKEN
- Discord bot token, get from bot page in Discord Developer Portal.
- The environment variables can also be placed in a
.env
file that will be automatically loaded at startup.