/monitorserver
Adds the current server to the monitoring list to track server icon changes.Parameters
This command has no parameters - it automatically tracks the server where the command is used.Permission Required
Manage Server permission is required to use this command.Behavior
- Checks if the server is already being tracked
- If already tracked, displays when tracking started
- If not tracked, adds the server to the database with the current timestamp
- Server icon changes are monitored automatically
- Data collection begins within 30 minutes
Example Usage
Expected Response
Success (new server):/removemonitorserver
Removes the current server from the monitoring list and deletes all associated tracking data.Parameters
This command has no parameters - it automatically removes tracking for the server where the command is used.Permission Required
Manage Server permission is required to use this command.Behavior
- Deletes the server from the database
- Removes all associated server icon history via CASCADE
- Cannot be undone
Example Usage
Expected Response
Success:/serverpfphistory
Displays the server icon history for the current server in a paginated format.Parameters
This command has no parameters - it automatically shows history for the server where the command is used.Permission Required
No special permissions required - any user can view server icon history.Behavior
- Fetches all recorded server icons from the database
- Displays 10 entries per page
- Icons are ordered from newest to oldest
- Each entry shows:
- Full timestamp of when the icon was recorded
- Link to the icon image
- SHA-256 checksum of the image
- Provides Back/Next navigation buttons
Example Usage
Expected Response
Success: An embed titled “My Awesome Server Server Icon History” with fields:Pagination
- 10 entries per page
- Back button disabled on first page
- Next button disabled on last page
- Footer shows “Page X of Y”
/serverstats
Shows statistics about the current server’s icon change behavior.Parameters
This command has no parameters - it automatically shows statistics for the server where the command is used.Permission Required
No special permissions required - any user can view server statistics.Statistics Displayed
- Average time between server icon changes (Hours) - Average duration in hours
- Average time between server icon changes (Days) - Average duration in days
- Changes since beginning of Monitoring - Total number of icon changes
- Monitored since - Date when tracking started (in footer)
Behavior
- Calculates average duration between consecutive server icon changes
- Requires at least 2 server icons to calculate statistics
- Uses actual timestamps to compute precise averages
- Calculations are performed from newest to oldest records
Example Usage
Expected Response
Success: An embed with the server name showing:Calculation Method
The bot calculates the time difference between each consecutive server icon change, then averages all intervals:Server icon statistics help identify how frequently a server updates its branding. Statistics become more accurate with more data points.
/ping
Checks the bot’s latency and responsiveness.Parameters
This command has no parameters.Behavior
- Calculates API latency by measuring time from command creation to response
- Provides instant feedback about bot performance
- Can be used anywhere (servers or DMs)
Example Usage
Expected Response
Latency Interpretation
- < 100ms: Excellent - Bot is very responsive
- 100-300ms: Good - Normal operation
- 300-500ms: Fair - Slight delay may be noticeable
- > 500ms: Poor - Bot may be experiencing issues
The latency shown is the API latency (time from command creation to response), not gateway/WebSocket latency.