update role to TRUSTED for suggestion-list

This commit is contained in:
2024-06-21 10:50:10 -05:00
parent f905c362e6
commit a6d0125b55
2 changed files with 3 additions and 3 deletions

View File

@@ -7,12 +7,12 @@
"name": "lmxsdl" "name": "lmxsdl"
} }
], ],
"version": "0.1", "version": "0.1.1",
"compatibility": { "compatibility": {
"minimum": "10", "minimum": "10",
"verified": "11" "verified": "11"
}, },
"download": "https://gitea.ascorrea.com/asc/asc-session-title-suggestions/releases/download/0.1/asc-session-title-suggestions-0.1.zip", "download": "https://gitea.ascorrea.com/asc/asc-session-title-suggestions/releases/download/0.1.1/asc-session-title-suggestions-0.1.1.zip",
"manifest":"https://gitea.ascorrea.com/asc/asc-session-title-suggestions/raw/branch/master/src/module.json", "manifest":"https://gitea.ascorrea.com/asc/asc-session-title-suggestions/raw/branch/master/src/module.json",
"scripts": [ "scripts": [
"scripts/main.js" "scripts/main.js"

View File

@@ -51,7 +51,7 @@ function registerCustomChatCommands() {
aliases: ["/ts"], aliases: ["/ts"],
description: "List all titles for the most recent episode", description: "List all titles for the most recent episode",
icon: '<i class="fa-solid fa-podcast"></i>', icon: '<i class="fa-solid fa-podcast"></i>',
requiredRole: "GAMEMASTER", requiredRole: "TRUSTED",
callback: async (chat, parameters, messageData) => { callback: async (chat, parameters, messageData) => {
const newMessageData = {} const newMessageData = {}
const suggestions = game.messages.filter(m => { const suggestions = game.messages.filter(m => {