Closed bluekittyyoyo closed 4 years ago
Where is the directory located? It seems that it cannot find the file "reposter.js" in "C:/Users/Kai". If it is in another directory, try using "cd" to set the current directory, then attempt to run "node reposter.js" again. E.G. If the file was on the desktop in a folder called "Reposter":
cd "C:/Users/Kai/Desktop/Reposter"
node reposter.js
I'm sorry if this is past the deadline, but I am not very active on GitHub and I only just saw this issue.
Thank you for the response, and it is still before the deadline! I made sure the file could be accessed and that fixed the previous issue, however there is a new issue. "Error: Incorrect login details were provided." I very much appreciate the assistance.
The login line is causing an error for some reason:
client.login("<SECRET_BOT_TOKEN>").catch(console.error);
Put in a new token and that fixed it. The bot appears to be functioning fine! However I have one last question, how does one repost from a channel to one in another server? The bot is in both servers, I am just unsure of formatting the commands. Again, thank you so much!
Nevermind, I figured out how to get channel IDs and give it to the bot to repost from.
I am completely new to creating bots and continually run into issues trying to set it up and run it. I'm unsure of what specifically to ask for as I am totally unfamiliar with this process. Any solutions are appreciated as soon as possible, this is a time sensitive issue that I would like to have dealt with by 3/11/20 11pm Mountain Standard Time. I realize this is specific and short notice, again any help is appreciated. 2020-03-10T08_20_06_985Z-debug.log