From 5f216a616c9e69f75ca70cbd46d8190b9b2655ad Mon Sep 17 00:00:00 2001 From: Raven Scott Date: Wed, 3 Jun 2026 18:52:13 -0400 Subject: [PATCH] Forward boostsEnabled in update-guild-settings IPC and enable boosts in UI flow scenario. Co-authored-by: Cursor --- index.js | 3 ++- scenarios.js | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index f522274..149f7d5 100644 --- a/index.js +++ b/index.js @@ -1241,7 +1241,8 @@ async function dispatchUiMessage (platform, msg, hooks = {}) { await platform.updateGuildSettings({ name: msg.name, iconHash: msg.iconHash, - nsfwGateEnabled: msg.nsfwGateEnabled + nsfwGateEnabled: msg.nsfwGateEnabled, + boostsEnabled: msg.boostsEnabled }) pushState() if (platform.activeChannelId && platform.mode === 'guild') { diff --git a/scenarios.js b/scenarios.js index ba318b5..bdaf638 100644 --- a/scenarios.js +++ b/scenarios.js @@ -50,6 +50,7 @@ async function runFullUiFlowScenario (platform) { type: 'set-automod-config', config: { enabled: true, maxMentions: 4, blockInvites: true } }) + await ipc(platform, { type: 'update-guild-settings', boostsEnabled: true }) await ipc(platform, { type: 'add-guild-boost', amount: 1 }) await ipc(platform, { type: 'set-presence', status: 'idle', customStatus: 'smoke testing' }) view = await platform.view()