diff --git a/src/main.js b/src/main.js index ea4f05e..a0b1271 100644 --- a/src/main.js +++ b/src/main.js @@ -307,6 +307,12 @@ addInboxServerCommand('move', async (msg, args, thread) => { thread.postSystemMessage(`Thread moved to ${targetCategory.name.toUpperCase()}`); }); +addInboxServerCommand('loglink', async (msg, args, thread) => { + if (! thread) return; + const logUrl = await thread.getLogUrl(); + thread.postNonLogMessage(`Log URL: ${logUrl}`); +}); + module.exports = { async start() { // Load plugins