Setup and Configuration
What do I need to run PFP Checker?
What do I need to run PFP Checker?
- Discord Bot Token - Create a bot application in the Discord Developer Portal
- ImgBB API Key - Sign up for a free API key at ImgBB
- Server Environment - Either Docker (recommended) or Rust 1.86+ installed locally
How do I get an ImgBB API key?
How do I get an ImgBB API key?
- Go to ImgBB API
- Sign up for a free account or log in
- Navigate to the API section
- Copy your API key
- Add it to your
.envfile asIMGBB_KEY=your_key_here
What Discord permissions does the bot need?
What Discord permissions does the bot need?
- Read Messages/View Channels - To receive commands
- Send Messages - To send responses
- Embed Links - To display formatted responses
- Read Message History - For proper command handling
Can I use PFP Checker in multiple servers?
Can I use PFP Checker in multiple servers?
- Monitor and unmonitor users
- Track its own server icon changes
- View statistics and history
Using Commands
Who can use the monitor commands?
Who can use the monitor commands?
/monitor, /removemonitor):- Any server member can monitor any user
- No special permissions required
/monitorserver, /removemonitorserver):- Requires Manage Server permission
- Only server administrators or users with the Manage Server permission can start/stop server icon tracking
How often does the bot check for changes?
How often does the bot check for changes?
What does the /stats command show?
What does the /stats command show?
/stats command displays:- Total number of changes since monitoring started
- Start date of monitoring
- Average changes per week
- Average changes per month
- Average changes per year
How do I view someone's profile picture history?
How do I view someone's profile picture history?
/pfphistory @user command. This will show:- All previous profile pictures for that user
- The date each profile picture was set
- Links to the archived images
/serverpfphistory to view a server’s icon history.Data and Privacy
Where is data stored?
Where is data stored?
- Local SQLite database - Stores user IDs, server IDs, timestamps, and metadata
- ImgBB - Stores archived profile pictures and server icons
database.sqlite) is stored in your bot’s directory. Profile pictures are uploaded to ImgBB for permanent archival.What data does the bot collect?
What data does the bot collect?
- Discord User IDs (not usernames, except for username history tracking)
- Discord Server IDs
- Profile picture URLs and archived copies
- Server icon URLs and archived copies
- Timestamps of when changes occurred
- Username history (if a user is monitored)
Can users opt out of tracking?
Can users opt out of tracking?
/removemonitor @user. The bot does not have a built-in user opt-out mechanism since it only tracks public Discord information.Note that archived images on ImgBB remain stored but are no longer linked to the user in the bot’s database.How long is data retained?
How long is data retained?
- Database records persist until you stop monitoring a user or server
- Archived images on ImgBB remain available according to ImgBB’s retention policy
ImgBB Integration
Why does PFP Checker use ImgBB?
Why does PFP Checker use ImgBB?
- Permanent storage of historical profile pictures
- Reliable access to archived images
- No broken links in history commands
What happens if ImgBB is down?
What happens if ImgBB is down?
- The bot will log an error
- The change detection will continue
- The upload may fail, potentially resulting in a missing archive for that specific change
Are there rate limits with ImgBB?
Are there rate limits with ImgBB?
- Image uploads will fail temporarily
- The bot will log errors
- Consider upgrading your ImgBB plan for higher limits
Troubleshooting
The bot is not responding to commands
The bot is not responding to commands
- Bot is online - Check your console logs
- Permissions - Ensure the bot has proper permissions in the server
- Slash commands registered - Restart the bot to re-register commands
- Discord token valid - Verify your
DISCORD_TOKENin.env
/ping to check if the bot is responsive.Profile picture changes aren't being detected
Profile picture changes aren't being detected
- User not monitored - Run
/monitor @userfirst - Bot was offline - Changes are only detected while the bot is running
- Database issues - Check console logs for errors
- ImgBB upload failed - Verify your
IMGBB_KEYis valid
Database error when starting the bot
Database error when starting the bot
- Run migrations -
sqlx database setup --database-url sqlite:database.sqlite - Delete and recreate - Backup
database.sqlite, delete it, and restart the bot - Check permissions - Ensure the bot has write access to the directory
- DATABASE_URL correct - Verify the path in your
.envfile
How do I check the bot's latency?
How do I check the bot's latency?
/ping command. It will respond with:- API latency in milliseconds
- Confirmation that the bot is online
Images aren't showing in history
Images aren't showing in history
/pfphistory or /serverpfphistory:- ImgBB issue - The image hosting service may be down
- Invalid URLs - Check the database for corrupted entries
- Upload failures - Review console logs for ImgBB errors
Performance and Limits
How many users can I monitor?
How many users can I monitor?
- Available system resources
- Database size
- ImgBB API rate limits
Does monitoring affect bot performance?
Does monitoring affect bot performance?
- Checks run on a scheduled interval, not continuously
- Database queries are optimized
- Only changed profile pictures trigger uploads
Can I monitor users who aren't in my server?
Can I monitor users who aren't in my server?