#πŸ”’ Specific help, can't post the request

161 messages Β· Page 1 of 1 (latest)

oblique seal
#

Helo guys, im making a discord bot that if a guy calls it it joins and starts recording the convo, (for sluring etc) Basicaly, i don't know how do i post requests so he joins a chanel... I tries ctrl +shift + i but it does not say the request that JOINS the voice chanel, like how do i make the bot join the voice chanel with requests?

ocean roseBOT
#

@oblique seal

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

oblique seal
#

tried this code: ```py
import requests

TOKEN = "MTE5NT(not full)"

header = {
'authorization': TOKEN
}

channel_id = "1275356223650402364" # Replace with the ID of the voice channel you want to join
guild_id = "1275355835622490122" # Replace with the ID of the guild the voice channel is in

url = f"https://discord.com/api/v9/guilds/{guild_id}/voice-states/@me"

payload = {
"channel_id": channel_id
}

r = requests.post(url, headers=header, json=payload)

print(r.status_code)``` got 404. tried patch and tried post

oblique seal
dusky kestrel
ocean roseBOT
oblique seal
#

but like it did not help me

#

i checked out

dusky kestrel
#

It might not have the functionality your looking for though

oblique seal
#

and didint find a tut on yt

dusky kestrel
oblique seal
#

idk how do i send the request to join

#

like theres nothing when i try to join

#

in comand promt

frigid sapphire
#

i suggest you use a library like discord.py with voice support

sage imp
oblique seal
#

welp shit

sage imp
#

discord.py and tkinter gotta be one of the easiest things to learn

dusky kestrel
#

You can record

oblique seal
#

i lied the hole time i dont need for my bot, im making so i can afk vc playtimeducky_sphere

dusky kestrel
#

You can record 10 seconds of the voice channel check that then move onto the next

oblique seal
#

or normal vc

#

and im not geting it normaly

sage imp
oblique seal
#

like afk voice chat

frigid sapphire
#

yea it sounds like a selfbot from what ur saying

oblique seal
#

i still use discord

sage imp
frigid sapphire
sage imp
#

U can still get the hours if u join vc

frigid sapphire
#

your account or a bot account

oblique seal
sage imp
oblique seal
frigid sapphire
sage imp
#

But answer

sage imp
frigid sapphire
oblique seal
oblique seal
sage imp
#

Oh u want it to just join vc when someone else joins?

oblique seal
#

art verified age verified no raid time

#

etc

sage imp
#

oh so it IS a selfbot

#

Ye igotchu

oblique seal
#

no

#

its a bot

#

not my acc

sage imp
#

tf u mean its a bot

#

How u onviting a bot to a server u aint manage

#

Or do u

oblique seal
#

i run a bot on the server

frigid sapphire
sage imp
#

Idk

frigid sapphire
#

Does the account have the "BOT" label on it

oblique seal
#

or no

frigid sapphire
#

no

sage imp
#

Bro this is megamind bigbrain cap

oblique seal
#

verified bot

frigid sapphire
#

this is very sus

sage imp
#

and how tf u plannin to sell a bot's permissions to a normal user

frigid sapphire
#

fr

oblique seal
#

i sell the bot

sage imp
#

Buddy jsut say its a selfbot and we might help u

sage imp
oblique seal
#

bruh its not a selfbot

#

im not geting baned

#

i red the rules

sage imp
#

@frigid sapphire this kid deadass trynna convince me he invited a bot into a server he dont manage

frigid sapphire
#

lmao yea

oblique seal
#

i manage

sage imp
#

The bot doesnt havr image perms out of all the other permissions

frigid sapphire
#

what

oblique seal
#

bruh

sage imp
#

And he also wants to sell it after 400h vc

oblique seal
#

i cant say

sage imp
#

@frigid sapphire help me rq

oblique seal
#

furry

sage imp
#

Tf

oblique seal
#

is the link

#

go check tfn welcomer

#

is my bot

frigid sapphire
#

why would anyone want to buy a bot from an admin

oblique seal
#

and AS I SAID HE GRINDS HOURS, AND CALCULATES THE RAID PERSENTAGE

#

in vc

#

its a hard process

frigid sapphire
#

i dont get what the raid percentage part has to do with anything

oblique seal
#

bruh .1 user says !raid in chat bot comes, record 5min. takes output to ai. ai says if its a raid. if its a raid then after 1 month of cacl says how many raid and what to do

sage imp
#

???

#

Ok nah this shi braindamage bro

frigid sapphire
#

just get an anti-raid bot, what

oblique seal
#

it was for my rust friend

#

dont mind

oblique seal
#

how will it hear

frigid sapphire
#

what

sage imp
oblique seal
#

harastment or raid

#

its for raid

sage imp
frigid sapphire
#

just leave the vc then

#

what

sage imp
#

How tf u want people to raid ur server by talking in vc

frigid sapphire
#

who raids a vc alone

oblique seal
#

just say how i send responts

oblique seal
oblique seal
#

sexual

#

or gay as camera

frigid sapphire
#

then get moderators

sage imp
#

Bro watched the wrong busienss motivation videos

oblique seal
#

ful nude

#

thats why the bot is here

sage imp
#

ur trynna splve a problem thats irrelevant aaf bro

frigid sapphire
#

this sounds like a job for a moderator...

#

i dont think a bot should do this

oblique seal
#

but it can be done with a bot

frigid sapphire
#

it can be, but it shouldn't be

#

just like how you can detect bad words with a bot, but a bypass always exists

oblique seal
#

bro, i scrape porn out of redit, and when a guy says !money a image appears fresh one.

#

ik what i doing

frigid sapphire
#

that's the job of a bot

oblique seal
#

yes

oblique seal
#

and a mod is also

#

ye but anti-raid bots dont join vc chanels

frigid sapphire
#

then ban the people raiding??

sage imp
#

this is such a dumb issue hes trynna solve

oblique seal
#

FUCK YALL

sage imp
#

Like bro not everyone joins vc and starts showing noods

oblique seal
#

i am not

#

its a good product

sage imp
#
  • thats a job of a moderatoe
oblique seal
#

bro the server has 160k members

sage imp
#

other ppl in the vc will report bro to u and u punish them

oblique seal
#

and the mods get abt 50 requests vcs

frigid sapphire
oblique seal
#

its better to bit

sage imp
#

ur nto supposed to collect a p1rn database to do something thats easily done with commonsense

oblique seal
oblique seal
#

so can yall say how to fucking do that shit?

sage imp
#

Just did

oblique seal
#

url = f"https://discord.com/api/v9/guilds/{guild_id}/voice-states/@me"

#

ifound it i think

ocean roseBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.