whmcs-oauth Send an oauth request from whmcs to an API Setup Create an oauth user on discord Put the creds in the discord.php file and upload to the root directory of your WHMCS instance. You can then upload the hook to includes/hooks Poof, done.