premium system
Hello, I’m curios of how people make there subscription based discord bots like do they do it via the bots code or by the website?
Any information of how this works or anything along those lines? If I wanted to link up my discord js bor to a tebex based subscriptions would this work and how?
11 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!It is complex.
I have a discord bot (private) that has premium, I use database. Usually some more complexier like postgre (hope I pronouced that right).
So you need a database
while I'm not sure what tebex is or whether discord would support it, native premium app subscriptions also exist
https://discord.com/developers/docs/monetization/app-subscriptions
the latest stable version of djs however does not support this
it is supported in the dev build and will be available in the next release
I seen that some of them use patreon and others use stripe with their api
isn’t this only for verified apps aswell
It is...
Personally I use patreon, which has a nice api that I request all active subscribers from (like every 2 minutes), and save this in a MongoDB database (discord id and whether they're subscribed or not)
Then whenever someone runs a subscription based command, you check the database.
Can't help you with tebex, but I hope my answer helps you
There are native subscriptions too, as duck mentioned above, which you don't need a database for. A bit easier to code, but also less money for you in the end :P
Thankyou this does help a lot I will look in to this plus see if tebex supports discord.js I think it does as you can add discord servers and there official bot but not to sure if it’s a public thing
Unknown User•8mo ago
Message Not Public
Sign In & Join Server To View
What does it do, can't find it
What I just read it... disxord pays?!
Nvm obv they do :%
yeah I have it like this similiarly