51
How to add Discord Authentication to FoundryVTT


Either with a gui client such as 7zip or with terminal, extract the files to the
path/to/foundry/resources/app
directory. (where the main.js
file is located)Depending on what client you are using, it will ask to overwrite the
main.hbs
file. This is acceptable as the only modification to the original file is to load the discord script.
/join
at the end of it.


public/scripts/discord.js
If you are using the application for windows, mac, Linux, etc it might be under
path/to/foundry/resources/app/public/scripts/discord.js

id, email
or just id
if you want to simplify adding new users. If you opted to only use Discord ID or Email, your form will look different.



51