declared world, user and isGM variables
This commit is contained in:
parent
6ec3491c01
commit
74bbb6a78f
@ -10,7 +10,11 @@ Hooks.on("ready", async function() {
|
||||
|
||||
Hooks.on("chatMessage", (log, message, data) => {
|
||||
let to_send = "";
|
||||
let isGM = "";
|
||||
let user = "";
|
||||
let world = game.world.id;
|
||||
console.log("[puckoprutt] chat!");
|
||||
|
||||
if(message[0] === "!") to_send = puckocommand(isGM, user, world, log, message.slice(1).split(" "), data);
|
||||
|
||||
if(to_send !== "") {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user