diff --git a/module.json b/module.json index 527803b..6921fad 100644 --- a/module.json +++ b/module.json @@ -6,7 +6,7 @@ "authors": [ { "name": "Robin Riis" } ], - "version": "0.1.30", + "version": "0.1.31", "socket": true, "minimumCoreVersion": 10, "compatibility": { diff --git a/scripts/puckochat/commands.js b/scripts/puckochat/commands.js index 3751451..4cc8ffc 100644 --- a/scripts/puckochat/commands.js +++ b/scripts/puckochat/commands.js @@ -1,8 +1,8 @@ -async function test(user) { +function test(user) { return `hello ${user}`; } -async function dagens(user, message) { +function dagens(user, message) { let week = game.modules.get("puckoprutt-foundry-module").api.dagens_lunch(message[1]); if (typeof week !== 'object') { return "could not fetch "+message[1];