KeyVerify
KeyVerify is a Discord bot that handles license verification for Payhip digital products. Users verify directly in your server — no external links, no DMs. Once verified, the bot assigns the configured role and stores the result. If a verified user leaves and rejoins, their role is automatically reapplied.
What it does
- In-server verification — Users enter their license key through a modal directly in Discord.
- Automatic role assignment — Roles are assigned on successful verification and reapplied on rejoin.
- Product management — Register multiple products, each with its own role. Roles can be auto-created if none is specified.
- License reset — Reset a key's usage count on Payhip for reactivations.
- User revocation — Remove a user's access and disable their license records.
- Verification logging — Log verification events to a channel of your choice.
- Encrypted storage — License keys and product secrets are AES-encrypted before being stored.
- Rate limiting — Cooldowns prevent spam and API abuse.
- Persistent buttons — Verification buttons continue working after bot restarts without any manual setup.
Commands
| Command | Description |
|---|---|
/start_verification | Post the verification button to a channel. |
/add_product | Register a product with its Payhip secret and an optional role. |
/remove_product | Remove a product from the server. |
/list_products | List all registered products and their roles. |
/reset_key | Reset the usage count of a license key on Payhip. |
/set_lchannel | Set the channel where verification events are logged. |
/remove_user | Revoke a user's access and remove their verification records. |
/help | Show available commands and support info. |
Security
- All stored license keys and product secrets are AES-encrypted (Fernet).
- Commands are restricted to server administrators.
- Rate limiting is applied to all verification interactions.
- Encryption keys can be rotated without losing access to existing data.
Project status
Actively maintained and deployed in production. Available as a hosted bot via the invite link above, or self-hosted from the GitHub repository.
Support
Discord: Fayelicious_