https://github.com/riptl/xpbot-discord
XP Leaderboard for Discord
https://github.com/riptl/xpbot-discord
discord discord-bot
Last synced: about 1 year ago
JSON representation
XP Leaderboard for Discord
- Host: GitHub
- URL: https://github.com/riptl/xpbot-discord
- Owner: riptl
- License: mit
- Created: 2019-03-15T00:25:27.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-04-18T00:59:31.000Z (almost 7 years ago)
- Last Synced: 2025-02-24T18:06:56.350Z (about 1 year ago)
- Topics: discord, discord-bot
- Language: JavaScript
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Discord XP Bot
Configuration:
- `$REDIS_URL` Redis host:port (optional)
- `$REDIS_PREFIX` Redis ZSET key prefix (one key per group)
- `$DISCORD_TOKEN` Discord Bot Token
- `$BOT_CHANNEL` Channel where commands work
- `$IGNORED_CHANNELS` Comma-separated list of channels where no XP can be earned
- `$GROUP_ID` Redis group ID
- `$RATE_LIMIT` User cooldown after earning XP (seconds)
Commands:
- `/xp` Get current XP
- `/ranks` Get top XP users
Redis keys:
- `${REDIS_PREFIX}_${GROUP_ID}` Leaderboard