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

Foundry Chat Entries That Include TABLES Difficult to Read In Discord #10

Closed AndreCaseyScott closed 1 year ago

AndreCaseyScott commented 1 year ago

Describe the bug The formatting of chat log entries that include TABLES does not mirror via the webhook appropriately make the Discord version hard to read.

Before answering the questions on this template, are you on the latest release of this module? YES

To Reproduce Steps to reproduce the behavior:

  1. Go to: Any class feature that includes TABLES. E.g. Experimental Elixir
  2. Click on: Click to activate feature, sending text of skill to chat.
  3. Check Discord chat posting of that feature

Expected behavior I expected the table in Discord to at least have some form of delineation between the items, similar to how they appear in the Foundry chat log. I'm not expecting the SAME appearance, but some form of separation. Since Tables aren't supported in Discord, I suppose some form of "D# | Effect" for each row would be helpful.

Screenshots Snippet of Chat Log of Feature - Screen Shot 2023-09-03 at 17 52 00

Discord log of mirrored feature - Screen Shot 2023-09-03 at 17 51 51

therealguy90 commented 1 year ago

Fixed in 7949ad657ba3049fa656699b12d34dd9ebad4c46. Will be included next release. Tables should now look like this: image

Obviously, this is an extreme example.