Coder Social home page Coder Social logo

Comments (5)

Re4LSteaL avatar Re4LSteaL commented on May 16, 2024

Require stack:

  • C:\Users\flore\Documents\syncBot\register.js
    ←[90m at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)←[39m
    ←[90m at Function.Module._load (node:internal/modules/cjs/loader:778:27)←[39m
    ←[90m at Module.require (node:internal/modules/cjs/loader:1005:19)←[39m
    ←[90m at require (node:internal/modules/cjs/helpers:102:18)←[39m
    at Object. (C:\Users\flore\Documents\syncBot\register.js:3:14)
    ←[90m at Module._compile (node:internal/modules/cjs/loader:1101:14)←[39m
    ←[90m at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)←[39m
    ←[90m at Module.load (node:internal/modules/cjs/loader:981:32)←[39m
    ←[90m at Function.Module._load (node:internal/modules/cjs/loader:822:12)←[39m
    ←[90m at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:79:12)←[39m {
    code: ←[32m'MODULE_NOT_FOUND'←[39m,
    requireStack: [ ←[32m'C:\Users\flore\Documents\syncBot\register.js'←[39m ]
    }

from syncbot.

jonathonor avatar jonathonor commented on May 16, 2024

Hi, there is a config.example.json that you will need to fill in with details for your specific server and save it as config.json

from syncbot.

Re4LSteaL avatar Re4LSteaL commented on May 16, 2024

Hello, thank you very much for answering my question. Sorry for being annoying, but I still have 1 more error and it's this.

C:\Users\flore\Documents\syncBot>node register.js
Started refreshing application (/) commands.
S[50001]: Missing Access
at Q.runRequest (C:\Users\flore\node_modules@discordjs\rest\dist\index.js:7:581)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Q.queueRequest (C:\Users\flore\node_modules@discordjs\rest\dist\index.js:5:2942)
at async C:\Users\flore\Documents\syncBot\register.js:43:5 {
rawError: { message: 'Missing Access', code: 50001 },
code: 50001,
status: 403,
method: 'put',
url: 'https://discord.com/api/v9/applications/946367217426128906/guilds/810851584773718036/commands',
requestBody: { files: undefined, json: [ [Object], [Object] ] }
}

from syncbot.

jonathonor avatar jonathonor commented on May 16, 2024

Try the answer listed on this link.
https://stackoverflow.com/questions/68886388/trying-to-register-commands-discordapierror50001-missing-access

from syncbot.

Re4LSteaL avatar Re4LSteaL commented on May 16, 2024

Thank you very much, I got it up and running. Now I just need to figure out how to make it run 24/7

from syncbot.

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.