#Discord api OaUTH2

16 messages · Page 1 of 1 (latest)

lofty ridgeBOT
  • Consider reading #how-to-get-help to improve your question!
  • Explain what exactly your issue is.
  • Post the full error stack trace, not just the top part!
  • Show your code!
  • Issue solved? Press the button!
  • Marked as resolved by staff
open spade

You could do that with djs btw:

spice moatBOT

method GuildMemberManager#add()
Adds a user to the guild using OAuth2. <info>This method requires the PermissionFlagsBits.CreateInstantInvite permission.

open spade

And you definitely should reset your token because you did a horrible job censoring it

olive pond

There's no problem getting this token lol

I'm trying to keep giving 401: Unauthorized

open spade

Is it still a valid token?

olive pond

the access token is correct and the bot token is also correct

open spade

And why do you have Bearer in front when it‘s a Bot token?

Bearer is for access token

olive pond

is axios.put ?

olive pond
open spade

And yet you don’t pass anything as a bot token there

olive pond

but it doesn't work