[minor]: Merge pull request '[minor]: only publish publicrolls' (#4) from only-publish-publicrolls into main
All checks were successful
ci / ci (push) Successful in 34s
All checks were successful
ci / ci (push) Successful in 34s
Reviewed-on: #4
This commit is contained in:
commit
624d894a82
@ -56,8 +56,8 @@ Hooks.once("ready", () => {
|
||||
module.service.register()
|
||||
})
|
||||
|
||||
Hooks.on("preCreateChatMessage", (message: ChatMessage): void => {
|
||||
if (message.isRoll && getSetting("sendToDiceTower") as Boolean) {
|
||||
Hooks.on("preCreateChatMessage", (message: ChatMessage, _: any, settings: any): void => {
|
||||
if (message.isRoll && settings?.rollMode === "publicroll" && getSetting("sendToDiceTower") as Boolean) {
|
||||
let results = []
|
||||
let command = "";
|
||||
message.rolls.forEach(roll => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user