⭐ Feel free to star the repository if this helped you!
By using this code, you are automating your Discord Account. This is against Discord's Terms of Service and Community Guidelines. If not used properly, your account(s) might get suspended or terminated by Discord. I, the developer, am not responsible for any consequences that may arise from the use of this code. Use this software at your own risk and responsibility. Learn more about Discord's Terms of Service and Community Guidelines.
This repository is in no way affiliated with, authorized, maintained, sponsored, or endorsed by Discord Inc. (discord.com) or any of its affiliates or subsidiaries.
DO NOT GIVE YOUR DISCORD TOKENS TO ANYONE.
Giving your token to someone else will give them the ability to log into your account without the password or 2FA.
- Secure [🔒]
- Modern UI with Rich Text formatting
- Interactive setup for status and activity
- Supports Playing and Streaming statuses
- Supports all Discord status modes (Online, Idle, Do Not Disturb, Invisible)
- Account will stay 24/7 online (if you set it up correctly, asumming you have a machine to run this on for 24/7)
- Automatic token configuration and saving
- Detailed error handling with visual feedback
- Cross-platform compatibility
Obtaining Your Token (Video Guide)
You will need an user token in order to use this code. You can obtain it by doing the following:
- Logging in to your discord account
- Pressing
Ctrl+Shift+Ito open Chrome Developer Tools - Go to the
NetworkTab - Keep it open and refresh the page
- Type
/apiin the filter search box - Click the entry that has
scienceas theName - On the sub-menu, go to
Headers - Scroll down till you see an entry named
Authorization. Copy the line next to it. - This is your token, DO NOT GIVE IT TO ANYONE.
- Alternatively, you can use this tutoriol)
Using a virtual environment helps isolate project dependencies and prevents conflicts with other Python projects.
# Navigate to your project directory
cd path\to\project
# Create a virtual environment
python -m venv venv
# Activate the virtual environment
venv\Scripts\activate
# Your terminal should now show (venv) at the beginning of the prompt# Navigate to your project directory
cd path/to/project
# Create a virtual environment
python3 -m venv venv
# Activate the virtual environment
source venv/bin/activate
# Your terminal should now show (venv) at the beginning of the prompt- Install Python on your machine (Make sure you add it to PATH)
- Clone this repository or download it as a ZIP file and extract it
- Open a terminal or command prompt in the project directory
- Set up a virtual environment (recommended, see instructions above)
- Run
pip install -r requirements.txtto install the required dependencies - Either modify the token in
config.pyor let the program prompt you for it when running - Run the program with
python main.py
- Create a new Python repl on Replit
- Upload the project files into the repl
- Open
config.pyand setREPLIT = Trueto enable the keepalive server - Run the repl and follow the prompts
- Add your repl URL to an uptime monitor (like UptimeRobot) to keep it running 24/7
- Use the URL provided by Replit (e.g.,
https://your-repl-name.yourusername.repl.co) - Set the monitoring type to HTTP(s) and check every 5 minutes
- This will ping your keepalive server periodically to prevent Replit from sleeping
- Use the URL provided by Replit (e.g.,
- Deploy the code to your VPS or cloud instance
- Install Python and the required dependencies
- Run the application using
python main.pyor set it up as a service - Use tools like
screen,tmux, orsystemdto keep the process running in the background
Just wait for a few minutes. It takes some time for Discord to refresh your status.
Make sure you have copied your token correctly. It should be a long string of characters. Follow the token obtaining guide again if needed.
This happens because some hosting platforms have Shared Public IP Addresses. Whenever Discord sees lots of invalid requests coming from a single IP address, it will use Cloudflare to temporarily block any incoming requests.
Fix:
- Restart your hosting service
- Wait for a while before trying again
- Consider using a different hosting provider
If you have any issues or questions regarding this project, feel free to open an issue on GitHub.
Special thanks to SealedSaucer for the original idea and README format.
Made with ❤️ by NanduBit
Statuscord is licensed under GNU General Public License


