Allow players to link their Discord account via Discord OAuth2
Everything is being done within Discord application's settings > OAuth2
Copy over the Client ID & Client Secret to the config. Then you would need to configure Redirects. It must be what you have in the config. An example is shown below

Please see at GitHub README
bStats