Last updated
Last updated
Discord and related names, marks, emblems and images are registered trademarks of their respective owners.
Download the release from the latest e-mail you received;
Click in the OAuth2
tab, copy and save the Client ID
and the Client Secret
(if you don't have the button, reset it);
Click in the Bot
tab, create the Bot if you don't have and save the Token
(if you don't have the copy button, reset it). For security reasons, ensure that Public Bot
it is off;
This is the best solution to use if you use cPanel on Shared Web Hosting.
Open your cPanel, search for Setup Node.js App
and open it;
Click on New Application, Setup like below (you can choose any domain) and Create;
Upload the BACKEND
folder to /AndrezzzLinkDiscord
(normally, when you open FTP/File Manager, it opens the public_html
folder, you need to go back);
Go back to the Application that you just created, refresh the page and click on Run NPM Install
;
Upload the modules
folder to your WHMCS root folder;
Go to Setup -> System Settings -> Addon Modules
and active the module Andrezzz - Link Discord
;
You're pretty to go. Have a good use of the module, and thank you once again 😊!
This is the easiest way to debug the module inside the WHMCS.
Go to System Logs -> Module Log
and activate it if you don't have it already and try to repeat the issue;
Edit the file config.json,
change the Setting debug
to true
and restart the Bot;
Currently, there are two types of Notifications:
Type Related: when a Hook is triggered, a personalised and translatable notification will be sent, based on the e-mail client's preference. At the moment, currently supports InvoicePaid, InvoiceCreated, TicketOpen, TicketOpenAdmin, TicketAdminReply, TicketClose, CancellationRequest, AfterModuleSuspend and AfterModuleUnsuspend.
E-mail Redirect: simply redirects every single e-mail to their Discord DM. This could break some ToS from Discord since you're sending to their DM personal information.
I'm not responsible for any kind of Ban/Warning that you can in Discord, by using any sort of Notifications. Using the Type Related, you have almost no chance to get it, but if you choose E-mail Redirect, since it has Personal Information about the Client itself (e.g. Name, Address or ID), it can be seen as a Data Leakage.
Due to the EU Law GDPR, they're very cautious.
Currently, there are two types of places to show the current Link:
Homepage Panel
Secondary Sidebar
Adicional to this, and after version 1.7, it's automatically added to the WHMCS Sign-in Integrations, so if the Client clicks in his name and chooses Security Settings
, he'll see something like this page. My system works the same as before.
This option, commonly mistaken, asks if you wanna redirect the Client to your Client Area or to show the Linked Discord information. Also, this is essential if you want the Client to choose if he wants to receive Notifications in their DM or not if you have this enabled.
If you see your Linkage Page showing like the one below, it's probably because you Upgraded from an older Version or you have some temporary bug in your Templates Cache. To go around this problem, you should go to Utilities -> System -> System Cleanup
and click on Empty Template Cache
.
Currently, the module supports up to five types of attribution criteria. Check the below description:
Guest: have no active Service;
Client: have at least one active Service;
Group: have specifically, the Client Group informed;
Product: have at least one active Product of the one informed;
Product Group: have at least one active Product of the Product Group informed;
Product Server: have at least one active Product of the Product Server informed.
If you see after 0 ms
, can be a Connection Refused issue. Check if you have a Firewall in the Backend, and if yes, if you allowed the Port you're using;
If you see after x ms
, where x
is a value greater than 0, and can be a firewall in the server on which you're running the WHMCS. To solve this issue, you should contact your Hosting Provider and ask them to allow the Backend IP, to have an Outgoing connection. If they don't allow it, please use port 80 or 443;
If you see after x ms: Connection refused
, where x
, can be 0 or greater than 0, can be the issue before.
If you find your WHMCS, loading more time than it usually takes or keeps loading, it's due to the connection between WHMCS and the Backend. The Backend is giving a Timedout issue. To work around this, please check:
If you're using the right URL or IP:Port combination;
If the config.json
doesn't have the wrong IP Address or Port.
This module and all its features wouldn't have been possible if I didn't have the help of wonderful people who stayed by my side throughout allthe progress and helped me in every step I made. Gave ideas, argued mine, and tested them at all costs.
Thank you again to all the buyers for your help and kindness ❤️!
Go to the and create a new Application (if you have already, skip this step);
Add a new Redirect using the URL that you saved in (skip this step if you haven't set up the WHMCS side yet);
Add the Bot, by simply going to this and editing in the Search Bar the CLIENTID
to yours. Select the desired Guild, click on Continue and Authorize (you need to do this for every Guild you wanna add). Don't change the permission code so that it can work with other features.
Edit the config.json
file, with the information you gathered before in the and change the port
to 3000
;
Click on Restart
and then test it by clicking the Open
button, if it doesn't redirect to my Website, then some mistake was made. Please check every single step. If it's all working, you can copy the URL in the Search Bar and save it to .
If you can't allow IPs to make connections to the outside (Allow specific IPs for Outgoing Traffic in some ports), please try one of the following ports, and for more information, please check the :
Edit the config.json
file, with the information you gathered before in the and change the port
to the one you chose before;
Start/Restart the Server and wait until you see the logs below. Test it by clicking on the IP:Port on Address
and pasting it at the Search Bar. If it doesn't redirect to my Website, then some mistake was made. Please check every single step. If it's all working, you can copy the URL in the Search Bar and save it to .
If you can't allow IPs to make connections to the outside (Allow specific IPs for Outgoing Traffic in some ports), please try one of the following ports, and for more information, please check the :
Edit the config.json
file, with the information you gathered before in the and change the port
to the one you wanna use (don't forget to open it in your Firewall, if any, to allow Inbound Connections);
Test it by pasting the server's IP with the port you chose at the search bar. If it doesn't redirect to my website, then some mistake was made. Please check every single step. If it's all working, you can copy the URL in the Search Bar and save it to .
Go to the configuration of the Addon and fill out all the information required (copy the URL given in Discord OAuth2 Redirect
and go to the ). Please check the , if you have any questions;
Go to Addons -> Andrezzz - Link Discord
and add to the table the desired roles for each type you want. Please check the , if you have any questions.
For Commum Issues, kindly check the . if you don't find it, check the options below to troubleshoot it.
If you find any error similar to the one below, it's most likely a firewall issue. Please check the ;
If you find any error similar to any below, it's most likely a backend issue. Please check the . For the and for the ;
If you find any error similar to the one below, it's a Backend error. First, check if the , have anything about it. If not, go to ;
Repeat the request/action and check the console. If you don't find anything similar in the , please report it to me at .
As a final step, if you don't find the solution, please report it to me with the maximum information as possible. Please copy the following template, edit and send it to me using one of my .
For any questions, you may have, you can contact me anytime, .
If you don't have any Guilds in the dropdown, please check if you added the Bot to the desired Guild. Check the .
If you get this error in the Backend API or in the , check if the Bot/the Bot role is upper than the role you wanna give.
If you find this in your , you either have a Connection Refused (Backend Firewall) issue or a Firewall (WHMCS) issue. Check below:
Would you ever imagine, if you could have your WHMCS Clients verified with a Discord account and give them, in real-time, roles inside your guild? Now you can! By an affordable price.