therealguy90 / foundrytodiscord

A FoundryVTT module that sends all FoundryVTT messages to a Discord webhook.
https://ko-fi.com/loki123
MIT License
15 stars 2 forks source link

It's now showing token images on discord. #4

Closed Boifuba closed 1 year ago

Boifuba commented 1 year ago

I am using the latest version of FoundryVTT and the GURPS GGA System.

The items referring to the system work very well. But the tokens/avatars images are not showing up on discord. Could you guide me how can I fix this?

image

My server is public https://campanhasdoboi.com.br/ and i'm using it on oracle, you check by yourself. So i see no reason to no share the imgs with discord!

therealguy90 commented 1 year ago

If the default Foundry icon is not showing, it's a sign of one of two things: your server isn't allowing access to the files on the machine it's hosted on, (which it's not, since the foundry icon appears when I visit your domain/modules/foundrytodiscord/src/defaultavatar.png), which is the default avatar in the case that the module can't fetch the other avatars or are incompatible with Discord (jpg, png, or webp only), so that might mean your invite link on the config is wrong. Is that link what you put into the invite URL on your module config?

therealguy90 commented 1 year ago

Thanks for giving me your invite link! It seems this link is working as the Game Invite URL (Configure Settings -> Foundry to Discord -> Game Invite URL) for Foundry to Discord to function properly, and is fetching the images as intended. Are you still having trouble with this?

Boifuba commented 1 year ago

Yeah, i corrected the invite. so i got some changes. imageIt's Player is getting the default avatar and GM is getting the avatar normally

thanks for the really fast answer!

therealguy90 commented 1 year ago

Ah, if the user's default avatar is not set, it will automatically default to the Foundry icon as well. Seems like your Gamemaster account has an avatar set, but the player user doesn't.

You're welcome, and enjoy!

Boifuba commented 1 year ago

Thank you very much, let me restart everything and set avatar correctly for everyone. If you need a server to run some tests please let me know, mine is 24/7 on oracle! Thanks for all the work and to be so kind! God bless you

CapivaraTupiniquim commented 1 year ago

Hello everyone, I had the same problem with the tokens not appearing in the discord bot, and when logging into Foundry on my cell phone I realized that the Certboot certificate had expired, and that's why the webhook failed to access the server. Just stopping by to remind you to change your certificates when you renew (yes, I had forgotten to replace them). And of course, thank you very much for the module and the great work!