fix(plugins): PronounDB, ViewIcons, WebhookTags, NoBlockedMessages, BetterGifAltText, MessageAccessories

This commit is contained in:
Vendicated 2022-11-11 16:14:05 +01:00
parent f3aba3edb0
commit 1176896a1b
No known key found for this signature in database
GPG key ID: EC781ADFB93EFFA3
10 changed files with 86 additions and 44 deletions

View file

@ -37,7 +37,7 @@ const browser = await pup.launch({
});
const page = await browser.newPage();
await page.setUserAgent("Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36");
await page.setUserAgent("Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36");
function maybeGetError(handle: JSHandle) {
return (handle as JSHandle<Error>)?.getProperty("message")