Compare commits

..

No commits in common. "2e96ae6ce106d2298be4ec400f8c9d57e25139d3" and "6ec3491c01f541ca0dd0cbffa156ec592fd58490" have entirely different histories.

2 changed files with 1 additions and 5 deletions

View File

@ -6,7 +6,7 @@
"authors": [ "authors": [
{ "name": "Robin Riis" } { "name": "Robin Riis" }
], ],
"version": "0.1.5", "version": "0.1.4",
"socket": true, "socket": true,
"minimumCoreVersion": 10, "minimumCoreVersion": 10,
"compatibility": { "compatibility": {

View File

@ -10,11 +10,7 @@ Hooks.on("ready", async function() {
Hooks.on("chatMessage", (log, message, data) => { Hooks.on("chatMessage", (log, message, data) => {
let to_send = ""; let to_send = "";
let isGM = "";
let user = "";
let world = game.world.id;
console.log("[puckoprutt] chat!"); console.log("[puckoprutt] chat!");
if(message[0] === "!") to_send = puckocommand(isGM, user, world, log, message.slice(1).split(" "), data); if(message[0] === "!") to_send = puckocommand(isGM, user, world, log, message.slice(1).split(" "), data);
if(to_send !== "") { if(to_send !== "") {