#๐ Discord API
29 messages ยท Page 1 of 1 (latest)
@fallow kiln
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.
If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/
After pasting your code, save it by clicking the Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.
id add a thread for the bot if the bot needs commands or such
r = requests.put("https://discord.com/api/v10/guilds/1297524492406489198/members/1293555915319939134", headers={"Authorization" : f"Bot {BOT_TOKEN}", "Content-Type" : "application/json"}, json={"access_token":access_token})
this needs to be Bearer {access_token} afaik
bots cant join users
ok not user but maybbe it needs some intent
intents are a different thing
privilaged user intent
also prob not user
idk what u are trying to access but from the initial message its not user
tho from that first message it sounds like dc i giving u a call so idk
idk bout the raw api but what even is that ur trying to access?
how exacly is that different to adding the bot to a server? also that is prob user if any but not if it is what i think
ah yes heard about it but still cant belive thats a thing
it should use manage user perm
here are all the intents if that aint work than u may need some even bigger perms or something else is wrong with the request
prob the second
says this one?
bc this sounds like u are good just not good enougth
try the one that says this one
here
id guess its like ; for most langs
id say gg but this is not a game
u can use !close or !solved to close the theread
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.