From 0d1834d5cefd7b70d6d066ec13c2f2e14079f4ae Mon Sep 17 00:00:00 2001 From: KungKurt Date: Sun, 16 Feb 2025 03:09:24 +0100 Subject: [PATCH] updated puckochat and module.json --- module.json | 4 +++- scripts/puckochat/main.js | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/module.json b/module.json index 72f4315..6ca4e67 100644 --- a/module.json +++ b/module.json @@ -1,11 +1,13 @@ { - "id": "puckoprutt", + "id": "puckoprutt-foundry-module", + "name": "puckoprutt", "title": "puckoprutt", "description": "add communication to the puckoprutt web api", "authors": [ { "name": "Robin Riis" } ], "version": "0.1.0", + "socket": true, "minimumCoreVersion": 10, "compatability": { "minimum": "12", diff --git a/scripts/puckochat/main.js b/scripts/puckochat/main.js index 506c1e7..53f33bc 100644 --- a/scripts/puckochat/main.js +++ b/scripts/puckochat/main.js @@ -10,6 +10,7 @@ Hooks.on("ready", function() { Hooks.on("chatMessage", (log, message, data) => { to_send = ""; + console.log("[puckoprutt] chat!"); if(message[0] === "!") to_send = commands.puckocommand(log, message.slice(1).split(" "), data); if(to_send !== "") {