rocketscience_new
rocketscience_new
DIAdiscord.js - Imagine an app
Created by rocketscience_new on 5/8/2024 in #djs-questions
Error with slash command
try muting me @Qjuh idiot, dosent know how to think nerd :discordnerd:
34 replies
DIAdiscord.js - Imagine an app
Created by rocketscience_new on 5/8/2024 in #djs-questions
Error with slash command
Bro this server has the worst moderation team lmfao
34 replies
DIAdiscord.js - Imagine an app
Created by rocketscience_new on 5/8/2024 in #djs-questions
Error with slash command
🤓 👆🏻 um, ackshully, this is very basic js
34 replies
DIAdiscord.js - Imagine an app
Created by rocketscience_new on 5/8/2024 in #djs-questions
Error with slash command
That's funny, you could just try and fix the code or point out the error. Not give some useless piece of info from the docs.
34 replies
DIAdiscord.js - Imagine an app
Created by rocketscience_new on 5/8/2024 in #djs-questions
Error with slash command
How is this supposed to help
34 replies
DIAdiscord.js - Imagine an app
Created by rocketscience_new on 5/8/2024 in #djs-questions
Error with slash command
Same error
34 replies
DIAdiscord.js - Imagine an app
Created by rocketscience_new on 5/8/2024 in #djs-questions
Error with slash command
Okay then, THIS is djs related help because in a normal node program it would of worked. How would I add another stringOption
34 replies
DIAdiscord.js - Imagine an app
Created by rocketscience_new on 5/8/2024 in #djs-questions
Error with slash command
VS Code says there are no problems but node does when I run node index.js
34 replies
DIAdiscord.js - Imagine an app
Created by rocketscience_new on 5/8/2024 in #djs-questions
Error with slash command
TypeError: option.setName(...).setDescription(...).setRequired(...).addStringOption is not a function
34 replies
DIAdiscord.js - Imagine an app
Created by rocketscience_new on 5/8/2024 in #djs-questions
Error with slash command
🤣
34 replies
DIAdiscord.js - Imagine an app
Created by rocketscience_new on 5/8/2024 in #djs-questions
Error with slash command
It shows me where but not how to fix it or where to put the extra bracket
34 replies
DIAdiscord.js - Imagine an app
Created by rocketscience_new on 5/8/2024 in #djs-questions
Error with slash command
That's not very helpful is it 🤣
34 replies
DIAdiscord.js - Imagine an app
Created by rocketscience_new on 5/8/2024 in #djs-questions
Error with slash command
I am not 'expecting my code to magically work'. I am simply asking a question that my code editor (VS Code) does not say where to put it and if you can help me put it there.
34 replies
DIAdiscord.js - Imagine an app
Created by rocketscience_new on 5/8/2024 in #djs-questions
Error with slash command
U just described add the bracket. When I add the bracket I get a syntax error
34 replies
DIAdiscord.js - Imagine an app
Created by rocketscience_new on 5/8/2024 in #djs-questions
Error with slash command
u sure abt that.
34 replies
DIAdiscord.js - Imagine an app
Created by rocketscience_new on 5/8/2024 in #djs-questions
Error with slash command
.addSubcommand(command => command.setName('add').setDescription('Add a reaction role to a message.').addStringOption(option => option.setName('message-id').setDescription('The message to react to.').setRequired(true)).addStringOption(option => option.setName('emoji').setDescription('The emoji to react with.').setRequired(true)).addRoleOption(option => option.setName('role').setDescription('The role you want to give.').setRequired(true)))
34 replies
DIAdiscord.js - Imagine an app
Created by rocketscience_new on 5/8/2024 in #djs-questions
Error with slash command
Same error, unexpected token )
34 replies
DIAdiscord.js - Imagine an app
Created by rocketscience_new on 5/8/2024 in #djs-questions
Error with slash command
Where do you put it? I have JavaScript knowledge but it is not clear where to put it
34 replies
DIAdiscord.js - Imagine an app
Created by rocketscience_new on 5/8/2024 in #djs-questions
Error with slash command
.addSubcommand(command => command.setName('add').setDescription('Add a reaction role to a message.').addStringOption(option => option.setName('message-id').setDescription('The message to react to.').setRequired(true).addStringOption(option => option.setName('emoji').setDescription('The emoji to react with.').setRequired(true))))) ^ SyntaxError: Unexpected token ')' at internalCompileFunction (node:internal/vm:73:18) at wrapSafe (node:internal/modules/cjs/loader:1178:20) at Module._compile (node:internal/modules/cjs/loader:1220:27) at Module._extensions..js (node:internal/modules/cjs/loader:1310:10) at Module.load (node:internal/modules/cjs/loader:1119:32) at Module._load (node:internal/modules/cjs/loader:960:12) at Module.require (node:internal/modules/cjs/loader:1143:19) at require (node:internal/modules/cjs/helpers:110:18) at Object.<anonymous> (C:\Users\user\Documents\pj2 clan bot coded\index.js:19:19) at Module._compile (node:internal/modules/cjs/loader:1256:14)
34 replies
DIAdiscord.js - Imagine an app
Created by rocketscience_new on 5/8/2024 in #djs-questions
Error with slash command
unexpected token )
34 replies