1. Discord Login
User authenticates with Discord OAuth. We store only needed profile data and session details.
Bot Execution Flow
The system is split into a clean pipeline: authentication, plan purchase, premium activation, and social monitoring across YouTube, Instagram, Facebook, and Twitch.
User authenticates with Discord OAuth. We store only needed profile data and session details.
User picks Weekly Pro, Monthly Pro, or Yearly Pro on pricing page.
Backend creates a Razorpay order and verifies payment signature after checkout success.
Subscription end date updates in MongoDB. Existing active users get remaining time extended.
Premium APIs and the premium page are protected. Non-premium users are redirected to pricing.
Users only see relevant bot pages. No unnecessary admin clutter in the main flow.