Answer the question
In order to leave comments, you need to log in
Heroku hosting for node js not working. What needs to be done to make it work?
I did everything exactly the same as in the video https://www.youtube.com/watch?v=wxdl4QK0am4&t=347s . I don't understand what to do. Again, I did everything as in the video, but did not do the lines bot.login(config.BOT_TOKEN) I have a configuration file, I connected it using config = require('./config.json'); And in config.json {
"BOT_TOKEN": "HERE_TOKEN",
"cfg": {
"intents": [
"GUILDS",
"GUILD_BANS",
"GUILD_EMOJIS_AND_STICKERS",
"GUILD_INTEGRATIONS",
"GUILD_WEBHOOKS",
"GUILD_INVITES",
"GUILD_VOICE_STATES ",
"GUILD_MESSAGE_TYPING",
"DIRECT_MESSAGES",
"DIRECT_MESSAGE_REACTIONS",
"DIRECT_MESSAGE_TYPING"
]
}
}
I've hidden the token. Help me please. I can send whatever else you need
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question