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()