Git Product home page Git Product logo

Comments (26)

Owned67 avatar Owned67 commented on May 12, 2024 1

Solved

from rustplusplus.

Owned67 avatar Owned67 commented on May 12, 2024

so okay, sometinh wrong:

node index.js
2022-2-11 18:05:09 INFO: LOGGED IN AS: RustPlus#3143
2022-2-11 18:05:09 INFO: Waiting 5 seconds to make sure all text channels are created
2022-2-11 18:05:10 ERROR: {"rawError":{"message":"Missing Access","code":50001},"code":50001,"status":403,"method":"put","url":"https://discord.com/api/v9/applications/XXXXXXXXXXXXXXXXXX/guilds/268XXXXXXXXXXXXXXX/commands"}

RustPlusPlus channel is created with a lot settings... so idk what is wrong with this message above

from rustplusplus.

alexemanuelol avatar alexemanuelol commented on May 12, 2024

By the looks of it you didn't create the bot invitation with the correct options. Check the README in the section 'Create a discord bot'.

Click on OAuth2 tab on the website.
Scroll down to OAuth2 URL Generator.
Check the following boxes: bot and applications.commands
Scroll down to Bot permissions and select the following: Administrator
Copy the URL (This is used to invite you discord bot to discord servers (guilds))

from rustplusplus.

Owned67 avatar Owned67 commented on May 12, 2024

Bot have administrator privileges, i can't make better and ive follow the readme

from rustplusplus.

alexemanuelol avatar alexemanuelol commented on May 12, 2024

Have you selected bot and applications.commands?

from rustplusplus.

alexemanuelol avatar alexemanuelol commented on May 12, 2024

Because I think it's the applications.commands that might be missing

from rustplusplus.

Owned67 avatar Owned67 commented on May 12, 2024

Have you selected bot and applications.commands?

ye
rustplus
s

from rustplusplus.

alexemanuelol avatar alexemanuelol commented on May 12, 2024

Is it possible that its the same bot you used for the other bot? Try to Create a completely new discord bot.

from rustplusplus.

Owned67 avatar Owned67 commented on May 12, 2024

no it's a new bot

from rustplusplus.

alexemanuelol avatar alexemanuelol commented on May 12, 2024

What nodejs version are you running?

from rustplusplus.

alexemanuelol avatar alexemanuelol commented on May 12, 2024

https://flutterq.com/solved-discordapierror50001-missing-access/
Test solution 2

from rustplusplus.

alexemanuelol avatar alexemanuelol commented on May 12, 2024

Oh nevermind, that was for another problem. Your problem is solution 1...

from rustplusplus.

Owned67 avatar Owned67 commented on May 12, 2024

What nodejs version are you running?

v16.14.0

from rustplusplus.

Owned67 avatar Owned67 commented on May 12, 2024

i can't make better sorry, ive follow your readme...

from rustplusplus.

alexemanuelol avatar alexemanuelol commented on May 12, 2024

https://stackoverflow.com/questions/68886388/trying-to-register-commands-discordapierror50001-missing-access

Same problem, same solution...

from rustplusplus.

Owned67 avatar Owned67 commented on May 12, 2024

https://stackoverflow.com/questions/68886388/trying-to-register-commands-discordapierror50001-missing-access

Same problem, same solution...

Ive re created and same.. have you see my gif??? i can't make better guy...

from rustplusplus.

alexemanuelol avatar alexemanuelol commented on May 12, 2024

I saw the GIF, did you re-invite the bot to your discord server?

from rustplusplus.

alexemanuelol avatar alexemanuelol commented on May 12, 2024

Or did you just click the copy button?

from rustplusplus.

Owned67 avatar Owned67 commented on May 12, 2024

Ive re created and same.

Ive re created and same.

from rustplusplus.

alexemanuelol avatar alexemanuelol commented on May 12, 2024

Did you remove it from your server and re-invite:ed?

from rustplusplus.

Owned67 avatar Owned67 commented on May 12, 2024

It's again a new bot and other was kicked and all channel removed before invit him

from rustplusplus.

alexemanuelol avatar alexemanuelol commented on May 12, 2024

https://discordjs.guide/preparations/adding-your-bot-to-servers.html#creating-and-using-your-invite-link

Hit me up on Discord instead: Alexemanuelol#8259

from rustplusplus.

Owned67 avatar Owned67 commented on May 12, 2024

I know how to invite a bot thanks ^^ Im off for tonight, tomorrow im up ;)

from rustplusplus.

alexemanuelol avatar alexemanuelol commented on May 12, 2024

Okioki, then Im afraid I can't really help you 😕

from rustplusplus.

Owned67 avatar Owned67 commented on May 12, 2024

that weird really, im checking in files, open 268426701401227264.json and found:

"channelId": {
   "category": "941782038401409034",
   "information": "941782039412215828",
   "servers": "941782040146219039",
   "settings": "941782040846671874",
   "events": "941782042318876763"
 },
``` all is created so why it give this error? :x

from rustplusplus.

alexemanuelol avatar alexemanuelol commented on May 12, 2024

It's when it's trying to register the Slash Commands for your guild. And usually it is solved by adding the 'applications.commands' to the invitation URL.

from rustplusplus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.