Register

Foundry to Discord

An Add-on Module for Foundry Virtual Tabletop

Author: Loki123 Project Source: Project URL Versions 11+ (Verified 11) Last Updated 1 year ago

Foundry to Discord


A lightweight module to send (most, if not) all FoundryVTT messages to a Discord webhook. It has the capability to edit and delete messages in real-time, making it great for play-by-post (PBP) style campaigns, logging, and more!
Full features, API docs, AND SETUP INSTRUCTIONS are available on the Github page.

Fully-supported systems:
DnD5e
Pathfinder Second Edition

NOTE: This module will work on other systems. To what extent, I do not know. It is guaranteed, however, that regular chat and rolls will function on any system. Contact me for adding support for your system.

Buy Me a Coffee


FAQ:

 

Q: How about Discord to Foundry? Is it possible?

A: As for the possibility of it... Yes. I've made a private discord bot that does just that, however, I do not want to publish it. It's going to be difficult to maintain and there's too many issues with having a bot execute code on your foundry world.


Q: What does this do that Tabbed Chatlog and similar modules don't?

A: This module was intended so that players can read the chatlog on another platform. At least, in this case, Discord. Tabbed Chatlog does have a Discord Webhook functionality, but it only sent IC and OOC chats. This module intends to mirror what the players see onto Discord as closely as possible, including limiting metagame information to only what players know. Yes, this module may work similar to Tabbed Chatlog if you don't configure it to send roll information. Do note that, unlike Tabbed Chatlog, Foundry to Discord does not separate IC and OOC.

Q: Is this DiscordConnect?

A: Well, pretty much. This project started with me tinkering around with DiscordConnect so I could use it in my games, but I ended up rebuilding most of it from the ground up. I've improved a lot of the functionality, and even added more features that I think the community would appreciate. 

Q: Nothing is sending to the webhook! Did I do something wrong?

A: If absolutely nothing is sending to your Discord channel, it's 100% not the fault of the module. You can quote me on that. If nothing else, regular chat messages and regular rolls using foundry's "/r" command should work. I advise you to either check your logs or your settings, or go through the motions of setting it up again. If an issue pops up in your logs and involves this module, opening an issue is the best way to deal with it, or contact me on Discord (which I'm assuming you'd have one, considering you're planning on using this module).


Q:
What is ERR_BLOCKED_BY_CLIENT, and why is it appearing in my console?

A: That means your client is preventing the module to perform fetch API requests. Try another browser, and turn javascript on for your browser. If the issue still persists, contact me. This issue was only found to happen in a clean Vivaldi browser, though, so it might be an edge-case. Still, this should work on many browsers.

Q: Can I help?

A: Absolutely! Open an Issue on the project page if you want features added or fixed, and even feel free to open a PR with a feature you want to add (or clean up some of my janky code).

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Categories

Available Versions

  1. Version 1.8.5

    10 months, 3 weeks ago
    Foundry Version 11+ (Verified 11) Manifest URL Read Notes
  2. Version 1.8.4

    11 months, 2 weeks ago
    Foundry Version 11+ (Verified 11) Manifest URL Read Notes
  3. Version 1.8.3

    1 year ago
    Foundry Version 11+ (Verified 11) Manifest URL Read Notes
  4. Version 1.8.1

    1 year ago
    Foundry Version 11+ (Verified 11) Manifest URL Read Notes
  5. Version 1.7.3

    Foundry Version 11+ (Verified 11) Manifest URL Read Notes
  6. Version 1.7.2

    Foundry Version 11+ (Verified 11) Manifest URL Read Notes
  7. Version 1.6.3

    Foundry Version 11+ (Verified 11) Manifest URL Read Notes
  8. Version 1.3.0

    Foundry Version 10+ (Verified 11) Manifest URL Read Notes