Convert Auto-Tracking to use createChatMessage instead of preCreateChatMessage #39

Closed
opened 2025-06-13 03:59:27 +00:00 by Eldritch-Oliver · 0 comments
Eldritch-Oliver commented 2025-06-13 03:59:27 +00:00 (Migrated from github.com)

Currently the auto-tracking utilizes preCreateChatMessage instead of createChatMessage, this would cause rolls to be added to the stats even if the message gets cancelled for whatever reason. Switching this to createChatMessage should make this so that the message can be cancelled by a hook and not get added.

Currently the auto-tracking utilizes `preCreateChatMessage` instead of `createChatMessage`, this would cause rolls to be added to the stats even if the message gets cancelled for whatever reason. Switching this to `createChatMessage` should make this so that the message can be cancelled by a hook and not get added.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Foundry/stat-tracker#39
No description provided.