Overview
The/xp command allows users to check their current experience points (XP) and level in the Faculty Bot system.
Parameters
This command takes no parameters.Usage
Response
The bot will respond with an embed message showing:- Your current level
- Your current XP amount
Example Response (with XP)
Example Response (no XP)
Implementation Details
The command queries the database to retrieve your XP information:Localization
This command supports multiple languages:| Language | Command Name | Description |
|---|---|---|
| English | /xp | Show your XP |
| German | /xp | Zeige deine XP |
| Japanese | /xp | (Uses English as fallback) |
Database Schema
The command queries theuser_xp table:
user_id: Discord user ID (bigint)user_xp: Total experience points (integer)user_level: Current level (integer)
How XP is Earned
XP is earned through various activities in the Discord server, such as:- Sending messages
- Participating in events
- Contributing to discussions
- Other server-specific activities
Permissions
- No guild restriction: This command can be used in servers or DMs
- No special permissions required for users to run this command
Related Commands
/leaderboard- View the top 10 users by XP