Skip to content

About

Make Your Discord Account 24/7 Online!

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

131 Commits

Folders and files

Repository files navigation

Online Forever

Keep your Discord account 24/7 online.


⭐ If this project helped you, consider starring the repository!

Important

Disclaimer — Read Before Using This project automates a user account, which violates Discord's Terms of Service and Community Guidelines. Accounts found automating user connections may be suspended or permanently terminated.

  • I am not responsible for any consequences resulting from the use of this code.
  • Use this software at your own risk.
  • This repository is not affiliated with, authorized, maintained, sponsored, or endorsed by Discord Inc. or any of its affiliates or subsidiaries.

Warning

NEVER share your Discord token with anyone. A token grants full access to your account without any password or 2FA. Anyone with your token can log in as you, read your DMs, and change your account settings.


✨ Features

  • Runs locally your token never leaves your machine
  • Supports custom status (with optional emoji)
  • Keeps your account online 24/7
  • Supports all status modes: online, idle, dnd, invisible
  • Cross-platform, works anywhere Python 3.8+ runs
  • Simple JSON config, no code editing required

Obtaining Your Token

Caution

A user token is equivalent to your password. Treat it like one.

  1. Log in to Discord in your browser (not the desktop app).
  2. Press Ctrl + Shift + I (or F12) to open DevTools.
  3. Go to the Network tab and keep it open.
  4. Refresh the page.
  5. In the filter box, type api/v9 or api/v10.
  6. Click any request to discord.com/api/... — ideally the one named messages or science.
  7. Open the Headers sub-tab and scroll to Request Headers.
  8. Copy the value next to authorization:. That's your token.

Warning

Do not paste your token into any website, bot, or Discord message even if it claims to "check" or "verify" it. That is always a scam.


🛠️ Installation

1. Install Python

Download Python 3.8 or newer from python.org/downloads.

On Windows, tick "Add Python to PATH" during installation

Verify with:

python --version

2. Download the project

Either clone the repo:

git clone https://github.com/SealedSaucer/Online-Forever.git
cd Online-Forever

Or download the ZIP and extract it.

  1. Configure Open config.json and edit:
{
  "token": "YOUR_TOKEN_HERE",
  "status": "online",
  "activity": {
    "type": "playing",
    "name": "Minecraft"
  }
}

See the Configuration section below for all options.

  1. Install dependencies
pip install -r requirements.txt
  1. Run it
python main.py

--

⚙️ Configuration

Key Type Description
token string Your Discord user token
status string online · idle · dnd · invisible
activity.type string custom · playing · streaming · listening · watching · competing
activity.name string Text after the verb (ignored for custom)
activity.details string Optional second line (only for playing)
activity.state string Optional third line (only for playing)
activity.stream_url string Required for streaming must be a Twitch or YouTube URL
activity.custom_status string Text shown for custom type
activity.use_emoji bool Enable an emoji on the custom status
activity.emoji string Unicode emoji (e.g. "🔥")

Example presets

Playing a game

"activity": { "type": "playing", "name": "Minecraft" }

Streaming on Twitch

"activity": {
  "type": "streaming",
  "name": "Live coding",
  "stream_url": "https://twitch.tv/yourname"
}

Custom status with emoji

"activity": {
  "type": "custom",
  "custom_status": "Hey there!",
  "use_emoji": true,
  "emoji": "🔥"
}

Troubleshooting

Problem Fix
Invalid token! Re-copy your token it may have expired or been reset.
ModuleNotFoundError: websockets Run pip install -r requirements.txt.
python: command not found Try python3 instead, or reinstall Python with PATH enabled.
Account shows offline anyway Close all other Discord clients on mobile/desktop only the last presence wins.
Script exits immediately Check the console usually a malformed config.json (trailing comma, missing quotes).

About

Make Your Discord Account 24/7 Online!

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages