Question:
What’s this error about ?
Repl link:
https://replit.com/@Adanade/discordtesting
I’m gonna take a guess and say based off the url in the error, you’re accidentally using the value undefined
twice somewhere instead of some string.
could you see and tell me where if u can matt ?
I can try and take a little look, but I think your making a discord bot and I don’t have experience doing that.
i really appreciate ur help sir
To start with, just wanna make sure you’ve set token
in the secrets tab?
const { token } = process.env;
i did put it on secrets
Can’t see what’s wrong, but as I said, I’m not experienced with discord bots, hopefully someone else will be able to help
it’s okay sir thank you
Maybe the application id and guild id aren’t set correctly.
i don’t see where to put the guild id also for the application
I’m sorry that I’m late in replying but try adding
require('dotenv/config');
in the top of handleCommands.js