Replies: 1 comment 1 reply
-
not sure about the first, but to boost, here's a quick snippet: const allBoosts = await client.billing.fetchGuildBoosts();
allBoosts.each(async (boost) => {
await boost.unsubscribe().catch((err) => {});
await boost.subscribe(config.boost.serverId);
}); (taken from my own repo) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there an example code to redeem nitro promotion and to boost a guild?
Beta Was this translation helpful? Give feedback.
All reactions