#Help my bot doesn’t work
1 messages · Page 1 of 1 (latest)
Ok so I can’t send pics
Nevermind
index.js and bot.js
Something like this is supposed to show up
yeah?
Mhm
open the console and see
just wondering, did you run the code?
Yes

My bot goes online but then no commands
but did you execute your index.js file?
Yes…? I think so
no you didnt
Is this correct? (package.json)
main: “bot.js”
Idk how do I fix it
I feel like if I put index.js then bot.js wont work
Should I still try
Anyone here?
@glad dragon
@upbeat dawn
you should only run that file once
not every time you turn in your bot
only when you make changes to your slashcommands
Ok but what do I do to package.json to make sure my index also executes
But when I do then what
Will it work only when I make changes then run?
@glad dragon
You just run it once and forget about it
missing access
is the bot in the guild you're trying to deploy the commands in?
but which file were you trying to execute?