Simple Discord bot that will verify WHMCS and Blesta billing panel licenses
- Python 3 (tested with v3.6.6, should work for 3.5+)
- Admin permissions on Discord server
I am hosting this bot on a server, thus it can be invited to your server easily without the need to host the bot yourself.
- Open the invite link below to start the process of adding the bot to your Discord server
- Select the server you wish to invite the bot to
- Hit 'Authorize' and the bot will be added
- Follow these directions in order to register the bot and create a token
- Replace the token at the top of the licensebot.py file with your generated token
- Replace WHMCS.com username/password details with your account information1
- Invite the bot to your server2
1 Some special characters may cause issues when used in the password field of the WHMCS account
2 The bot does not require any special permissions
!command [domain]
!command help
!license - checks WHMCS and Blesta license validity
!licence - (same as above)
!whmcs - checks WHMCS license validity
!blesta - checks Blesta license validity
!license google.com
!whmcs unknown.host
!blesta billing.hostingcompany.net
!license help
Note: The domain given as an argument must not include the preceding scheme (http:// or https://) nor a subdomain of "www." (i.e. to check the license status of http://www.host.net, run !license host.net
)
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2018 Mason Rowe <[email protected]>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. You just DO WHAT THE FUCK YOU WANT TO.