core: Fix some grammar and style issues with the permission prompt.
Some checks failed
Build Tilde Friends / Build-All (push) Has been cancelled

This commit is contained in:
2025-11-13 12:30:42 -05:00
parent 89ec523ea2
commit bb67df7846
2 changed files with 3 additions and 1 deletions

View File

@@ -443,7 +443,7 @@ async function getProcessBlob(blobId, key, options) {
} else if (typeof message === 'string') {
action = `Post a private message.`;
} else {
action = `Post a ${message?.type}.`;
action = `Publish ${'aeiou'.indexOf(message?.type?.toLowerCase()?.substring(0, 1)) != -1 ? 'an' : 'a'} "${message?.type}" message.`;
}
} catch {}
return Promise.resolve(