Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Project -> Module Manager
This should open a window. The first line should say "discord.js" and a custom input should be next to it. Remove any text from the input. When it's empty, it should say "^12.2.0". Close the window, and Discord.JS v12 should be updated and added to your project!
Here is a video demonstrating the process:
https://www.youtube.com/watch?v=96SVBnWxODk
I see, sorry about that! >.<
Please try doing: Project -> Reinstall Node Modules
If that doesn't work, could you take a screen shot of the Module Manager and post it here? Also, could you post the exact text of the error message you received after trying all of this?
Hello I tried that step but it did not work. I uploaded my error messages, node version, version of my module manager and me trying to update my bot by typing npm i discord.js@12 in command promt.
Imgur album: https://imgur.com/a/YCJEeBu
Wow, this is confusing... hmmm...
If you create a new project, does it work?
You do not need to use the new project, I'm just trying to figure out what the problem is. Could you please provide more information?
What is not working? What is the error that appears? Could you post the full bot log? Also, were you using the beta version of DBM before this?
Bot has started at Monday, Jul 6, 2020, 11:47:48 AM
> This version of Discord Bot Maker requires Discord.JS v12.
> Please use "Project > Module Manager" and "Project > Reinstall Node Modules" to update to Discord.JS v12.
? C:\Users\Алек
? сандр\ТеммБот\bot.js:14
? throw new Error("Need Discord.JS v12 to Run!!!");
?
? ^
?
? Error: Need Discord
? .JS v12 to Run!!!
? at Object.
? (C:\Users\Александр\�
? �еммБот\bot.js:14:8)
?
? at Module._compile (internal/mo
? dules/cjs/loader.js:1158:30)
?
? at Object.Module._extens
? ions..js (internal/modules/c
? js/loader.js:1178:10)
? a
? t Module.load (internal/module
? s/cjs/loader.js:1002:32)
?
? at Function.Module._load (inte
? rnal/modules/cjs/loader.js:90
? 1:14)
? at Function.execut
? eUserEntryPoint [as runMain]
? (internal/modules/run_main.j
? s:74:12)
? at internal/main/ru
? n_main_module.js:18:47
?
If that doesn't work, try creating a new project and see if it works. If it does, try removing the encryption from your current project, saving your current project, then copying the "data" folder from your current project to the new project.