A Code that can make your Discord Account 24/7!

Overview

Online-Forever

Make your Discord Account Online 24/7!


A Code written in Python that helps you to keep your account 24/7.

The main.py is the main file. keep_alive.py prevents your repl from going to sleep. (If you have a replit hacker plan, then you can delete this file and paste this code inside the main.py file :


import discord, os, asyncio, datetime, requests

from discord.ext import tasks, commands

client = commands.Bot(
  command_prefix=':',
  self_bot=True
)

async def on_ready():
    client.remove_command('help')
    await client.change_presence(status=discord.Status.online, activity=discord.Game("TEST"))
client.run(os.getenv("TOKEN"), bot=False)

This Code is from this tutorial. If you have any doubts regarding this, feel free to contact me.

DO NOT GIVE YOUR TOKEN TO OTHERS!

Use uptimerobot.com to make your repl online 24/7.


Feel free to Star the Repository if this helped you! ;)


Online Forever © 2021 by SealedSaucer is licensed under Attribution 4.0 International

Comments
  • Added a Dockerfile

    Added a Dockerfile

    Now Online-Forever can be used as a docker image.

    Docker CLI:

    docker run -d -e TOKEN="gsHQ5wpRUHUiS8cW1lq55iyr.H3XifBCbs8dmUxaYinen8rQcPyLDJgKoZK" Online-Forever:latest
    
    opened by dsymbol 5
  • error while running

    error while running

    it shows an error while running the code the error is - "module discord not found" even if i try to run the code properly or in the correct manner, pleaase help me to find a solution to this problem, thank you

    opened by NigHTmxRE-in 4
  • It isn't working anymore

    It isn't working anymore

    Last 2 months, the online-forever worked like a charm. But after the recent discord update, It isn't working anymore. I don't know if it's the discord update or it's just my issue.

    https://streamable.com/ulqvnb

    opened by keexers 3
  • main.py Fix status not changing

    main.py Fix status not changing

    The status would not change for my account, added an event to fix this and also added the other status types of which you could give the option to config at some point

    opened by Tenshi147 3
  • Issue?

    Issue?

    The owner of this website (discord.com) has banned you temporarily from accessing this website. Access denied | discord.com used Cloudflare to restrict access

    Any suggestions?

    opened by RyanZuZi 2
  • Error in replit

    Error in replit

    I am getting this error in Replit and I am not getting online

     python3 main.py
     * Serving Flask app ''
     * Debug mode: off
    WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
     * Running on all addresses (0.0.0.0)
     * Running on http://127.0.0.1:8080
     * Running on http://172.18.0.29:8080
    Press CTRL+C to quit
    172.18.0.1 - - [11/Nov/2022 14:35:08] "OPTIONS * HTTP/1.1" 404 -
    Traceback (most recent call last):
      File "main.py", line 15, in <module>
        client.run(os.getenv("TOKEN"))
      File "/home/runner/Disc-Online/venv/lib/python3.8/site-packages/discord/client.py", line 742, in run
        asyncio.run(runner())
      File "/nix/store/2vm88xw7513h9pyjyafw32cps51b0ia1-python3-3.8.12/lib/python3.8/asyncio/runners.py", line 44, in run
        return loop.run_until_complete(main)
      File "/nix/store/2vm88xw7513h9pyjyafw32cps51b0ia1-python3-3.8.12/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
        return future.result()
      File "/home/runner/Disc-Online/venv/lib/python3.8/site-packages/discord/client.py", line 739, in runner
        await self.start(*args, **kwargs)
      File "/home/runner/Disc-Online/venv/lib/python3.8/site-packages/discord/client.py", line 712, in start
        await self.login(token)
      File "/home/runner/Disc-Online/venv/lib/python3.8/site-packages/discord/client.py", line 583, in login
        data = await state.http.static_login(token.strip())
      File "/home/runner/Disc-Online/venv/lib/python3.8/site-packages/discord/http.py", line 663, in static_login
        data = await self.get_me()
      File "/home/runner/Disc-Online/venv/lib/python3.8/site-packages/discord/http.py", line 541, in request
        raise HTTPException(response, data)
    discord.errors.HTTPException: 429 Too Many Requests (error code: 0): <!DOCTYPE html>
    <!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en-US"> <![endif]-->
    <!--[if IE 7]>    <html class="no-js ie7 oldie" lang="en-US"> <![endif]-->
    <!--[if IE 8]>    <html class="no-js ie8 oldie" lang="en-US"> <![endif]-->
    <!--[if gt IE 8]><!--> <html class="no-js" lang="en-US"> <!--<![endif]-->
    <head>
    <title>Access denied | discord.com used Cloudflare to restrict access</title>
    <meta charset="UTF-8" />
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=Edge" />
    <meta name="robots" content="noindex, nofollow" />
    <meta name="viewport" content="width=device-width,initial-scale=1" />
    <link rel="stylesheet" id="cf_styles-css" href="/cdn-cgi/styles/main.css" />
    
    
    <script>
    (function(){if(document.addEventListener&&window.XMLHttpRequest&&JSON&&JSON.stringify){var e=function(a){var c=document.getElementById("error-feedback-survey"),d=document.getElementById("error-feedback-success"),b=new XMLHttpRequest;a={event:"feedback clicked",properties:{errorCode:1015,helpful:a,version:1}};b.open("POST","https://sparrow.cloudflare.com/api/v1/event");b.setRequestHeader("Content-Type","application/json");b.setRequestHeader("Sparrow-Source-Key","c771f0e4b54944bebf4261d44bd79a1e");
    b.send(JSON.stringify(a));c.classList.add("feedback-hidden");d.classList.remove("feedback-hidden")};document.addEventListener("DOMContentLoaded",function(){var a=document.getElementById("error-feedback"),c=document.getElementById("feedback-button-yes"),d=document.getElementById("feedback-button-no");"classList"in a&&(a.classList.remove("feedback-hidden"),c.addEventListener("click",function(){e(!0)}),d.addEventListener("click",function(){e(!1)}))})}})();
    </script>
    
    <script defer src="https://performance.radar.cloudflare.com/beacon.js"></script>
    </head>
    <body>
      <div id="cf-wrapper">
        <div class="cf-alert cf-alert-error cf-cookie-error hidden" id="cookie-alert" data-translate="enable_cookies">Please enable cookies.</div>
        <div id="cf-error-details" class="p-0">
          <header class="mx-auto pt-10 lg:pt-6 lg:px-8 w-240 lg:w-full mb-15 antialiased">
             <h1 class="inline-block md:block mr-2 md:mb-2 font-light text-60 md:text-3xl text-black-dark leading-tight">
               <span data-translate="error">Error</span>
               <span>1015</span>
             </h1>
             <span class="inline-block md:block heading-ray-id font-mono text-15 lg:text-sm lg:leading-relaxed">Ray ID: 7687c0bcd8ff2a36 &bull;</span>
             <span class="inline-block md:block heading-ray-id font-mono text-15 lg:text-sm lg:leading-relaxed">2022-11-11 14:35:10 UTC</span>
            <h2 class="text-gray-600 leading-1.3 text-3xl lg:text-2xl font-light">You are being rate limited</h2>
          </header>
    
          <section class="w-240 lg:w-full mx-auto mb-8 lg:px-8">
              <div id="what-happened-section" class="w-1/2 md:w-full">
                <h2 class="text-3xl leading-tight font-normal mb-4 text-black-dark antialiased" data-translate="what_happened">What happened?</h2>
                <p>The owner of this website (discord.com) has banned you temporarily from accessing this website.</p>
                
              </div>
    
              
          </section>
    
          <div class="feedback-hidden py-8 text-center" id="error-feedback">
        <div id="error-feedback-survey" class="footer-line-wrapper">
            Was this page helpful?
            <button class="border border-solid bg-white cf-button cursor-pointer ml-4 px-4 py-2 rounded" id="feedback-button-yes" type="button">Yes</button>
            <button class="border border-solid bg-white cf-button cursor-pointer ml-4 px-4 py-2 rounded" id="feedback-button-no" type="button">No</button>
        </div>
        <div class="feedback-success feedback-hidden" id="error-feedback-success">
            Thank you for your feedback!
        </div>
    </div>
    
    
          <div class="cf-error-footer cf-wrapper w-240 lg:w-full py-10 sm:py-4 sm:px-8 mx-auto text-center sm:text-left border-solid border-0 border-t border-gray-300">
      <p class="text-13">
        <span class="cf-footer-item sm:block sm:mb-1">Cloudflare Ray ID: <strong class="font-semibold">7687c0bcd8ff2a36</strong></span>
        <span class="cf-footer-separator sm:hidden">&bull;</span>
        <span id="cf-footer-item-ip" class="cf-footer-item hidden sm:block sm:mb-1">
          Your IP:
          <button type="button" id="cf-footer-ip-reveal" class="cf-footer-ip-reveal-btn">Click to reveal</button>
          <span class="hidden" id="cf-footer-ip">34.28.4.81</span>
          <span class="cf-footer-separator sm:hidden">&bull;</span>
        </span>
        <span class="cf-footer-item sm:block sm:mb-1"><span>Performance &amp; security by</span> <a rel="noopener noreferrer" href="https://www.cloudflare.com/5xx-error-landing" id="brand_link" target="_blank">Cloudflare</a></span>
        
      </p>
      <script>(function(){function d(){var b=a.getElementById("cf-footer-item-ip"),c=a.getElementById("cf-footer-ip-reveal");b&&"classList"in b&&(b.classList.remove("hidden"),c.addEventListener("click",function(){c.classList.add("hidden");a.getElementById("cf-footer-ip").classList.remove("hidden")}))}var a=document;document.addEventListener&&a.addEventListener("DOMContentLoaded",d)})();</script>
    </div><!-- /.error-footer -->
    
    
        </div><!-- /#cf-error-details -->
      </div><!-- /#cf-wrapper -->
    
      <script>
      window._cf_translation = {};
      
      
    </script>
    
    <script>(function(){var js = "window['__CF$cv$params']={r:'7687c0bcd8ff2a36',m:'sbPMh6XSx9eY2yk27_fDBNiVZbvOeu0a.ItUep9D1AQ-1668177310-0-ATwNQUNYyBay456aCBc1ibEmEFYfnf/T4Thf/IIu2VOG3vb4X67oNYm7hgdR4ubTYRZnCjKoHOR8tqbcf8l+76E7uVggqFlC7NlbloK4AazzAUsKczqARDNhg6RQkiAM7jXS4vFqcRwXAxfZh3/XBvOfjbkI0Zh2ZmL0bZgYcsd0',s:[0xe538edf5b4,0x217b832e52],u:'/cdn-cgi/challenge-platform/h/b'};var now=Date.now()/1000,offset=14400,ts=''+(Math.floor(now)-Math.floor(now%offset)),_cpo=document.createElement('script');_cpo.nonce='',_cpo.src='/cdn-cgi/challenge-platform/h/b/scripts/alpha/invisible.js?ts='+ts,document.getElementsByTagName('head')[0].appendChild(_cpo);";var _0xh = document.createElement('iframe');_0xh.height = 1;_0xh.width = 1;_0xh.style.position = 'absolute';_0xh.style.top = 0;_0xh.style.left = 0;_0xh.style.border = 'none';_0xh.style.visibility = 'hidden';document.body.appendChild(_0xh);function handler() {var _0xi = _0xh.contentDocument || _0xh.contentWindow.document;if (_0xi) {var _0xj = _0xi.createElement('script');_0xj.nonce = '';_0xj.innerHTML = js;_0xi.getElementsByTagName('head')[0].appendChild(_0xj);}}if (document.readyState !== 'loading') {handler();} else if (window.addEventListener) {document.addEventListener('DOMContentLoaded', handler);} else {var prev = document.onreadystatechange || function () {};document.onreadystatechange = function (e) {prev(e);if (document.readyState !== 'loading') {document.onreadystatechange = prev;handler();}};}})();</script></body>
    </html>
    
    172.18.0.1 - - [11/Nov/2022 14:40:00] "GET / HTTP/1.1" 200 -
    172.18.0.1 - - [11/Nov/2022 14:45:00] "GET / HTTP/1.1" 200 -
    172.18.0.1 - - [11/Nov/2022 14:50:00] "GET / HTTP/1.1" 200 -
    172.18.0.1 - - [11/Nov/2022 14:55:00] "GET / HTTP/1.1" 200 -
    172.18.0.1 - - [11/Nov/2022 14:59:38] "GET / HTTP/1.1" 200 -
    172.18.0.1 - - [11/Nov/2022 15:00:00] "GET / HTTP/1.1" 200 -
    
    opened by FPSGuilherme 1
  • My account Token dont work

    My account Token dont work

    Hey, have problems with my account token. Tryed with 2 different accounts but it always say "discord.errors.HTTPException: 401 Unauthorized (error code: 0): 401: Unauthorized"

    `"C:\Users\Steven Arnold\PycharmProjects\SelfBot\venv\Scripts\python.exe" "C:/Users/Steven Arnold/PycharmProjects/SelfBot/main.py" Traceback (most recent call last): File "C:\Users\Steven Arnold\PycharmProjects\SelfBot\venv\lib\site-packages\discord\http.py", line 300, in static_login data = await self.request(Route('GET', '/users/@me')) File "C:\Users\Steven Arnold\PycharmProjects\SelfBot\venv\lib\site-packages\discord\http.py", line 254, in request raise HTTPException(r, data) discord.errors.HTTPException: 401 Unauthorized (error code: 0): 401: Unauthorized

    The above exception was the direct cause of the following exception:

    Traceback (most recent call last): File "C:\Users\Steven Arnold\PycharmProjects\SelfBot\main.py", line 30, in client.run("Here is my Token!") File "C:\Users\Steven Arnold\PycharmProjects\SelfBot\venv\lib\site-packages\discord\client.py", line 723, in run return future.result() File "C:\Users\Steven Arnold\PycharmProjects\SelfBot\venv\lib\site-packages\discord\client.py", line 702, in runner await self.start(*args, **kwargs) File "C:\Users\Steven Arnold\PycharmProjects\SelfBot\venv\lib\site-packages\discord\client.py", line 665, in start await self.login(*args, bot=bot) File "C:\Users\Steven Arnold\PycharmProjects\SelfBot\venv\lib\site-packages\discord\client.py", line 511, in login await self.http.static_login(token.strip(), bot=bot) File "C:\Users\Steven Arnold\PycharmProjects\SelfBot\venv\lib\site-packages\discord\http.py", line 304, in static_login raise LoginFailure('Improper token has been passed.') from exc discord.errors.LoginFailure: Improper token has been passed. Exception ignored in: <function _ProactorBasePipeTransport.del at 0x0000025B4127FC10> Traceback (most recent call last): File "C:\Users\Steven Arnold\AppData\Local\Programs\Python\Python39\lib\asyncio\proactor_events.py", line 116, in del self.close() File "C:\Users\Steven Arnold\AppData\Local\Programs\Python\Python39\lib\asyncio\proactor_events.py", line 108, in close self._loop.call_soon(self._call_connection_lost, None) File "C:\Users\Steven Arnold\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py", line 751, in call_soon self._check_closed() File "C:\Users\Steven Arnold\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py", line 515, in _check_closed raise RuntimeError('Event loop is closed') RuntimeError: Event loop is closed`

    Tokens look like this (I changed some Characters and letter for Security Reason xD):

    1. "BfA4NTFyLPB0MTkxOTIyMTk8.GxmH9p.PmXFtwFWIlrGPnWhEZimxc24jpB"
    2. "mfa.Z7loRFVLgaXJ_rKvuidKp6oZu2i7FsBW5LAvhFOvPGpduSHwzn2YW32sgRBbKMqLH57_QrWOTFxAsPL1JKG"
    opened by Herobr1ne 1
  • validate and simplify get token

    validate and simplify get token

    I can bet there is a bunch discord users which is just plug and play from this repository without configure the env / secret values This pr add validate and simplify the user token

    opened by sinkaroid 0
A Code that can make your Discord Account 24/7 on Voice Channels!

Voicecord Make your Discord Account Online 24/7 on Voice Channels! A Code written in Python that helps you to keep your account 24/7 on Voice Channels

Phantom 229 Jan 7, 2023
A code that can make an account bump your discord server 24/7!

BumpCord A code that can make an account bump your discord server 24/7! The main.py is the main file. keep_alive.py prevents your repl from going to s

Phantom 28 Aug 20, 2022
An simple python script for remove rockstar account for fivem, very useful for cheating or change account for unban from an server, remember change steam account.

This tool is used for be unbanned from servers, u need disconnect the discord, use other steam account and uninstall xbox for be unbanned 100%, it only work for unban in server, not global

MiguDEV 4 Oct 10, 2022
A discord account nuker with lots of tools that will destroy a discord account

A discord account nuker with lots of tools that will destroy a discord account (token destroyer... and much more).

firexi 10 Apr 28, 2022
Discord Account Generator that will create Account with hCaptcha bypass. Using socks4 proxies

Account-Generator [!] This was made for education. Please use socks4 proxies for nice experiences. [!] Please install these modules - "pip3 install ht

RyanzSantos 10 Feb 23, 2022
A code that can make your 5 accounts stay 24/7 in a discord voice channel!

Voicecord A code that can make your 5 accounts stay 24/7 in a discord voice channel! Usage ・Fork the repo ・Clone it to replit ・Install the required pa

DraKenCodeZ 3 Jan 9, 2022
It's a Discord bot to control your PC using your Discord Channel or using Reco: Discord PC Remote Controller App.

Reco PC Server Reco PC Server is a cross platform PC Controller Discord Bot which is a modified and improved version of Chimera for Reco-Discord PC Re

Arvinth Krishna 12 Aug 31, 2022
iso6.9 is a Discord bot written in Python and is used to make your Discord experience better

iso6.9-2.6stable (debloated) iso.bot is originally made by notsniped#4573. This is a remix of iso.bot by αrchιshα#5518. iso6.9 is a Discord bot writte

Kamilla Youver 2 Jun 10, 2022
Check and write all account info + Check nitro on account

Discord-Token-Checker Check and write all account info + Check nitro on account Also check https://github.com/GuFFy12/Discord-Token-Parser (Parse disc

null 36 Jan 1, 2023
Unauthenticated enumeration of services, roles, and users in an AWS account or in every AWS account in existence.

Quiet Riot ?? C'mon, Feel The Noise ?? An enumeration tool for scalable, unauthenticated validation of AWS principals; including AWS Acccount IDs, roo

Wes Ladd 89 Jan 5, 2023
Deleting someone else's Instagram account, repeat until the target account is blocked.

Program Features ?? Instagram report V4. ?? Coded with the latest version of Python. ?? Has automatic scheduling. ?? Full account report. ?? Report a

hack4lx 16 Oct 25, 2022
Roblox-Account-Gen - A simple account generator not using paid solving services

Roblox Account Generator Star this if it helped to spread awareness! No 2captcha

x 1 Feb 17, 2022
A tiktok mass account creator with undetected selenium and email verification, to bot an account

⚠️ STILL UNDER DEVELOPEMENT - v1.1-beta ⚠️ Adding PROXY ROTATION Adding EMAIL VERIFICATION Adding USERNAME COMPILER Tiktok Mass Bot Creator v1.1-beta

xtekky 11 Aug 1, 2022
A python script fetches all your starred repositories from your GitHub account and clones them to your server so you will never lose important resources

A python script fetches all your starred repositories from your GitHub account and clones them to your server so you will never lose important resources

Ringo Hoffmann 27 Oct 1, 2022
Send embeds using your discord personal account

Welcome to Embed Sender ?? Send embeds using your discord personal account Install pip install -r requirements.txt Usage Put your discord token in ./

SkydenFly 11 Sep 7, 2022
This code will guide you on how you can make your own Twitter Bot.

This code will guide you on how you can make your own Twitter Bot. This bot retweets, and likes to tweet with a particular word, here Python3.

Kunal Diwan 1 Oct 14, 2022
Satoshi is a discord bot template in python using discord.py that allow you to track some live crypto prices with your own discord bot.

Satoshi ~ DiscordCryptoBot Satoshi is a simple python discord bot using discord.py that allow you to track your favorites cryptos prices with your own

Théo 2 Sep 15, 2022