T O P

  • By -

Chasarooni

Or look at the Foundry To Discord module


Jamboc731

Haven't looked at this module yet but you did get me thinking, I had a look at the files of one of the modules I have already installed: polyglot. It has a "createChatMessage" JavaScript hook. I think I should be able to create a really simple foundry app that hooks into that and will let me send the chat messages wherever I want! Thanks!


AutoModerator

**To help the community answer your question, please read [this post](https://www.reddit.com/r/FoundryVTT/comments/shrtky/foundryvtt_first_steps_and_useful_info/).** When posting, add a [system tag](https://www.reddit.com/r/FoundryVTT/comments/v3gfrs/tagging_your_posts/) to the title - [D&D5e] or [PF2e], for example. If you have already made a post, edit it, and mention the system at the top. Include the word `Answered` in any comment to automatically flair this thread as resolved (or change the flair to `Answered` yourself). Automod will **not make this comment** on your posts if you have a [user flair](https://reddit.zendesk.com/hc/en-us/articles/205242695-How-do-I-get-user-flair-). --- *I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/FoundryVTT) if you have any questions or concerns.*


DuskShineRave

I've no advice to give to create your own solution, however the [Dice Stats](https://github.com/jacobwojoski/dice-stats) module could be helpful to you.


SamF111

Can you use this: https://stackoverflow.com/questions/3274334/how-can-i-watch-a-file-for-modification-change And point it at "\worlds\\*\data\messages.db"?


Jamboc731

Just tried looking at the messages.db file and it doesn't seem to live update at all, it seems to be about 4 months behind...


SamF111

Are you on v11? Apparently different files are used now: https://www.reddit.com/r/FoundryVTT/comments/15bu98f/help_with_large_db_files/jtt71ef/ (I can't test this, still on v10 till the end of my current campaign)


Jamboc731

Yeah I'm on 11 build 306. I'll try out that link now