Make your discord account 24/7 online on voice channels!
A Code written in Python that helps you to keep your account 24/7 on discord voice channels.
Please check out this if you want to add multiple tokens with just one file: sealedsaucer.sellix.io/product/6359655010aec
The main.py is the main file. keep_alive.py prevents your repl from going to sleep. (If you have a replit hacker plan or want to run the script locally, then you can delete this file and paste this code inside the main.py file :
import discord
import os
from discord.ext import commands
client=commands.Bot(command_prefix=':', self_bot=True, help_command=None)
GUILD_ID = YOUR_GUILD_ID_HERE
CHANNEL_ID = YOUR_CHANNEL_ID_HERE
@client.event
async def on_ready():
os.system('clear')
print(f'Logged in as {client.user} ({client.user.id})')
vc = discord.utils.get(client.get_guild(GUILD_ID).channels, id = CHANNEL_ID)
await vc.guild.change_voice_state(channel=vc, self_mute=False, self_deaf=False)
print(f"Successfully joined {vc.name} ({vc.id})")
client.run(os.getenv("TOKEN"))
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! ;)
Voicecord by SealedSaucer is licensed under Attribution 4.0 International