mr.energetico
DIAdiscord.js - Imagine an app
•Created by mr.energetico on 5/29/2024 in #djs-questions
Horizontal fields
`
12 replies
DIAdiscord.js - Imagine an app
•Created by mr.energetico on 5/29/2024 in #djs-questions
Horizontal fields
@Qjuh @rmHawk765 Thank you very much for your help, for anyone who needs it, here's how I solved it
12 replies
DIAdiscord.js - Imagine an app
•Created by mr.energetico on 5/29/2024 in #djs-questions
Horizontal fields
But how do you put the space, if I put more than one, only one counts
12 replies
DIAdiscord.js - Imagine an app
•Created by mr.energetico on 5/29/2024 in #djs-questions
Horizontal fields
here it is
12 replies
DIAdiscord.js - Imagine an app
•Created by mr.energetico on 5/29/2024 in #djs-questions
Horizontal fields
12 replies
DIAdiscord.js - Imagine an app
•Created by mr.energetico on 5/29/2024 in #djs-questions
Horizontal fields
the screenshot
12 replies
DIAdiscord.js - Imagine an app
•Created by mr.energetico on 5/29/2024 in #djs-questions
Horizontal fields
oh sorry
12 replies
DIAdiscord.js - Imagine an app
•Created by mr.energetico on 5/3/2024 in #djs-questions
How to change a variable that is in an array that is in an array in database in discord.js v14 ...
sorry, i found out thats the wrong channel for that type of question
3 replies
DIAdiscord.js - Imagine an app
•Created by mr.energetico on 4/13/2024 in #djs-questions
I need to get a message id
@Syjalo thank you
4 replies
DIAdiscord.js - Imagine an app
•Created by mr.energetico on 4/7/2023 in #djs-questions
Deploy Commands
so I should make another file named deploy.js and put the global commands code there?
34 replies
DIAdiscord.js - Imagine an app
•Created by mr.energetico on 4/7/2023 in #djs-questions
Deploy Commands
@endergamermc
34 replies
DIAdiscord.js - Imagine an app
•Created by mr.energetico on 4/7/2023 in #djs-questions
Deploy Commands
it says rest is not defined, what library should i use to define it?
34 replies
DIAdiscord.js - Imagine an app
•Created by mr.energetico on 4/7/2023 in #djs-questions
Deploy Commands
now i have this error
34 replies
DIAdiscord.js - Imagine an app
•Created by mr.energetico on 4/7/2023 in #djs-questions
Deploy Commands
C:\Users\MATTEO\Desktop\PizzaBot\index.js:20
rest.put(
^
ReferenceError: rest is not defined
at Object.<anonymous> (C:\Users\MATTEO\Desktop\PizzaBot\index.js:20:9)
at Module._compile (node:internal/modules/cjs/loader:1126:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10)
at Module.load (node:internal/modules/cjs/loader:1004:32)
at Function.Module._load (node:internal/modules/cjs/loader:839:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:17:47
34 replies
DIAdiscord.js - Imagine an app
•Created by mr.energetico on 4/7/2023 in #djs-questions
Deploy Commands
ok
34 replies
DIAdiscord.js - Imagine an app
•Created by mr.energetico on 4/7/2023 in #djs-questions
Deploy Commands
and this is the error
34 replies
DIAdiscord.js - Imagine an app
•Created by mr.energetico on 4/7/2023 in #djs-questions
Deploy Commands
this is my index.js
34 replies
DIAdiscord.js - Imagine an app
•Created by mr.energetico on 4/7/2023 in #djs-questions
Deploy Commands
34 replies
DIAdiscord.js - Imagine an app
•Created by mr.energetico on 4/7/2023 in #djs-questions
Deploy Commands
C:\Users\MATTEO\Desktop\PizzaBot\index.js:20
await rest.put(
^^^^^
SyntaxError: await is only valid in async functions and the top level bodies of modules
at Object.compileFunction (node:vm:360:18)
at wrapSafe (node:internal/modules/cjs/loader:1055:15)
at Module._compile (node:internal/modules/cjs/loader:1090:27)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10)
at Module.load (node:internal/modules/cjs/loader:1004:32)
at Function.Module._load (node:internal/modules/cjs/loader:839:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:17:47
34 replies
DIAdiscord.js - Imagine an app
•Created by mr.energetico on 4/7/2023 in #djs-questions
Deploy Commands
Excuse my ignorance but I'm new and know almost nothing
34 replies