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("TESTING"))
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