Closed BajekekButLost closed 1 year ago
const allBoosts = await client.billing.fetchGuildBoosts()
const firstBoost = allBoosts.first()
// boost
await firstBoost.subscribe(g.id)
// unboost
// await firstBoost.unsubscribe()
console.log(`Boosted ${g.name}. Now the server has ${g.premiumSubscriptionCount} boosts!`)
Purchase management is a feature that will be available in the future
Is what you wrote already a thing, bc my intellisence says "any" on the billing parameter edit: I checked the documentation and it's not there so I answered my own question
OK when I wrote that I swear it wasn't there!
OK when I wrote that I swear it wasn't there!
Which package is the feature request for?
The core library
Feature
Functions for boosting guilds and buying boosts
Ideal solution or implementation
Alternative solutions or implementations
Other context
No response