Cookies Setup
Fix "Sign in to confirm you're not a bot" errors on hosting providers. It's easier than you think!
🤔 Why do I need this?
If you're hosting Rawon on cloud providers like OVHcloud, AWS, GCP, Azure, Railway, or other hosting services, you might encounter the error:
"Sign in to confirm you're not a bot"
This happens because the video platform blocks requests from data center IP addresses. By using cookies from a logged-in account, you can bypass this restriction. Don't worry - it's easy to set up!
🚀 Easy Method: Using the Cookies Command (Recommended)
The easiest way to manage cookies - no file editing needed!
✅ Works instantly - no restart needed
✅ Supports multiple cookies with automatic rotation
✅ When one cookie fails, bot automatically uses the next one
✅ Cookies persist after bot restarts
📝 Available Commands
!cookies add <number> # Add a cookie (attach cookies.txt file)
!cookies remove <number> # Remove a specific cookie
!cookies remove all # Remove all cookies
!cookies list # Show all cookies and their status
!cookies reset # Reset failed status to retry all cookies⚡ Quick Start (3 steps)
Export cookies from your browser (see guide below)
In Discord, type: !cookies add 1 and attach your cookies.txt file
Done! The cookie is now active
💡 Pro Tip: Add Multiple Cookies
Add cookies from different accounts for better reliability:
!cookies add 1 # (attach first cookies.txt)
!cookies add 2 # (attach second cookies.txt from another account)
!cookies add 3 # (attach third cookies.txt)📋 What You Need
A secondary/throwaway video platform account (NEVER use your main account!)
A web browser (Chrome, Firefox, or Edge)
A cookies export extension (free from browser store)
📖 How to Export Cookies
Step 1: Create a Throwaway Account
Go to the video platform's account signup page
Create a NEW account specifically for this bot
⚠️ IMPORTANT: NEVER use your personal/main account!
Step 2: Log in to the Video Platform
Open your browser
Sign in with your throwaway account
Accept any terms if prompted
Step 3: Install Cookies Export Extension
For Chrome/Edge: Install Get cookies.txt LOCALLY (recommended) from Chrome Web Store
For Firefox: Install cookies.txt from Firefox Add-ons
Step 4: Export Cookies
Make sure you're on the video platform website
Click the cookies extension icon in your browser toolbar
Click Export or Export cookies for this site
Save the file as cookies.txt
Step 5: Add to Rawon
Go to any channel where Rawon can see your messages
Type: !cookies add 1
Attach the cookies.txt file to your message and send
Rawon will confirm the cookie was added!
🔧 Troubleshooting
Still getting "Sign in to confirm you're not a bot" errors?
Use !cookies list to check cookie status
If a cookie shows Failed, try !cookies reset to retry
Add more cookies from different accounts for redundancy
All cookies failed?
Create new throwaway accounts
Export fresh cookies
Add them with !cookies add <number>
Account got suspended?
This can happen with heavy usage
Simply create a new throwaway account
Export new cookies and add them
⏰ How Long Do Cookies Last?
Good news! Video platform cookies do NOT expire regularly. They stay valid as long as:
You don't log out from the video platform in your browser
You don't change your account password
You don't revoke the session from account settings
The platform doesn't detect suspicious activity
In practice, cookies can last months or even years! Just set it up once and forget about it.
🔒 Security Notes
WARNING
⚠️ NEVER share your cookies file with anyone
⚠️ Use a throwaway account, NOT your main account
⚠️ The cookies file contains sensitive login data