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
d.js toolkit
d.js toolkitβ€’7mo ago
- 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!
πŸ€– RoboticRobot πŸ€–
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
duck
duckβ€’7mo ago
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
!Delta!
!Delta!β€’7mo ago
I seen that some of them use patreon and others use stripe with their api
${RVX}
${RVX}β€’7mo ago
isn’t this only for verified apps aswell
πŸ€– RoboticRobot πŸ€–
It is...
and
andβ€’7mo ago
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
GN_Biggles
GN_Bigglesβ€’7mo ago
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
Unknown Userβ€’6mo ago
Message Not Public
Sign In & Join Server To View
Tenebrae
Tenebraeβ€’6mo ago
What does it do, can't find it What I just read it... disxord pays?! Nvm obv they do :%
πŸ€– RoboticRobot πŸ€–
yeah I have it like this similiarly
Want results from more Discord servers?
Add your server