Support /plu/ral webhook proxying

This commit is contained in:
Cadence Ember
2026-07-30 19:24:31 +12:00
parent 544c5206c7
commit a3ce911218
13 changed files with 337 additions and 72 deletions
+17
View File
@@ -0,0 +1,17 @@
// @ts-check
const {reg, writeRegistration} = require("../src/matrix/read-registration")
const {prompt} = require("enquirer")
;(async () => {
/** @type {{api_key: string}} */
const apiKeyResponse = await prompt({
type: "text",
name: "api_key",
message: "Paste your personal /plu/ral API key"
})
reg.ooye.plu_ral_api_key = apiKeyResponse.api_key
writeRegistration(reg)
console.log("Saved. This change should be applied instantly.")
})()