How To Code A Discord Bot in 2024 - Free Complete Course (NO EXPERIENCE REQUIRED)

  Рет қаралды 979

evenMoreCode

evenMoreCode

Күн бұрын

Пікірлер: 37
@evenMoreCode
@evenMoreCode 3 ай бұрын
I’m finally back after disappearing for a while! I’m looking forward to making more high quality videos, please comment any suggestions for content that you want to see from me!
@lostoroton
@lostoroton 3 ай бұрын
Your back!!!
@Phage-
@Phage- 3 ай бұрын
The legend is back!
@cool_HABIBI
@cool_HABIBI 3 ай бұрын
no way bro is back
@JakobsMusicCorner
@JakobsMusicCorner 3 ай бұрын
Welcome back! Are you going to be posting more often again?
@evenMoreCode
@evenMoreCode 3 ай бұрын
Yes sir! Let me know if you have any requests for future topics I should cover
@Hypersnake_Games
@Hypersnake_Games 5 күн бұрын
Hey, how do you get back tics at 14:39 because I don’t know if it’s necessary or not for it to be back tics so please help me
@evenMoreCode
@evenMoreCode 5 күн бұрын
Hey! Yes back tics are required for adding variables inside a string. On your keyboard the backtick button should be directly below the ESC key in the top left corner. On the same key as the ~. Here is a backtick: `
@ay3ro
@ay3ro 3 ай бұрын
He’s backkk😭🙏
@sebas9111
@sebas9111 3 ай бұрын
client.commands = new Collection(); ^ ReferenceError: Collection is not defined, i get this error when i try to reload the bot at the very end
@evenMoreCode
@evenMoreCode 3 ай бұрын
Hmm are you importing “Collection” from “discord.js” on line 3?
@sebas9111
@sebas9111 3 ай бұрын
i think i fixed all my errors but now its giving const commandFiles = fs.readdirSync(commandsPath).filter(file.endswith('.js')); ^ ReferenceError: file is not defined
@evenMoreCode
@evenMoreCode 3 ай бұрын
The line filtering out all the non javasxript files should be interating through the files, so this line should be modified to be like this: fs.readdirSync(commandsPath).filter(file => file.endswith(‘.js’)); Notice the difference inside the .filter
@sebas9111
@sebas9111 3 ай бұрын
@@evenMoreCode lifesaver i’ll fix it when i get home and see if i get any other errors
@sebas9111
@sebas9111 3 ай бұрын
@@evenMoreCode i fixed all the errors in the code but now when i /greet in my server it says "The application did not respond"
@animegod_9974
@animegod_9974 Ай бұрын
So what if I accidentally closed vs code and it signed me out? Now it’s saying a collection is not defined and I can’t sign in😭
@evenMoreCode
@evenMoreCode 24 күн бұрын
Ahhh nooo. Signing out shouldn’t do anything too bad. Let me know if your still needing help
@animegod_9974
@animegod_9974 24 күн бұрын
@ yes I still do, I haven’t managed to find the problem and it still isn’t working
@evenMoreCode
@evenMoreCode 24 күн бұрын
Okay join the discord and we can help you there!
@sadinminecraft
@sadinminecraft Ай бұрын
I made it to the end and everything seemed to work until i tried the command and all i got was The application did not respond
@evenMoreCode
@evenMoreCode Ай бұрын
Is the bot online? And did you deploy your commands?
@sadinminecraft
@sadinminecraft Ай бұрын
@evenMoreCode yes the bot is online and I deployed my commands
@evenMoreCode
@evenMoreCode Ай бұрын
@@sadinminecraft Are there any errors in your terminal after you run a command?
@sadinminecraft
@sadinminecraft Ай бұрын
@@evenMoreCode no
@evenMoreCode
@evenMoreCode Ай бұрын
@@sadinminecraft okay join the discord for more help
@ldrbleeds
@ldrbleeds 25 күн бұрын
ReferenceError: collection is not defined at Object. (C:\Users\Steve\OneDrive\Desktop\Python\index.js:8:23) at Module._compile (node:internal/modules/cjs/loader:1565:14) at Object..js (node:internal/modules/cjs/loader:1708:10) at Module.load (node:internal/modules/cjs/loader:1318:32) at Function._load (node:internal/modules/cjs/loader:1128:12) at TracingChannel.traceSync (node:diagnostics_channel:322:14) at wrapModuleLoad (node:internal/modules/cjs/loader:219:24) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:170:5) at node:internal/main/run_main_module:36:49
@evenMoreCode
@evenMoreCode 24 күн бұрын
Hey buddy! Join our discord and we can help you out there. This looks like it could be a capitalization or typo issue.
@animegod_9974
@animegod_9974 Ай бұрын
VS Code isn’t allowing me to name a new folder utility, what should I do?
@animegod_9974
@animegod_9974 Ай бұрын
Nvm, my vs code is a little different than yours so it didn’t look the same but it’s working
@evenMoreCode
@evenMoreCode Ай бұрын
Yay!
@leslie_the_grooky
@leslie_the_grooky Ай бұрын
i keep get a erorr for line 28 (async () => { ^
@Uki_GB
@Uki_GB 3 ай бұрын
Hey! I have just made my discord bot but my commands dont show on the server. Any ideas on why?
@evenMoreCode
@evenMoreCode 3 ай бұрын
Hey! Did you deploy your commands? 28:33 is where we deploy the commands in the video
@Uki_GB
@Uki_GB 3 ай бұрын
@@evenMoreCode now having issues with keeping bot up, ping keeps going down
@evenMoreCode
@evenMoreCode 3 ай бұрын
@@Uki_GB What do you mean ping keeps going down? Like you lose internet?
@DOACT-h1h
@DOACT-h1h 12 күн бұрын
This is the error is get when i try getting the bot online TypeError [ERR_INVALID_ARG_TYPE]: The "emitter" argument must be an instance of EventEmitter. Received type string ('ready') at eventTargetAgnosticAddListener (node:events:1041:11) at node:events:996:5 at new Promise () at Client.once (node:events:976:10) at Object. (C:\Users\ctqze\OneDrive\Desktop\Solaris\index.js:6:8) at Module._compile (node:internal/modules/cjs/loader:1565:14) at Object..js (node:internal/modules/cjs/loader:1708:10) at Module.load (node:internal/modules/cjs/loader:1318:32) at Function._load (node:internal/modules/cjs/loader:1128:12) at TracingChannel.traceSync (node:diagnostics_channel:322:14) { code: 'ERR_INVALID_ARG_TYPE' }
How to Use Any API with Discord Slash Commands
33:13
evenMoreCode
Рет қаралды 410
How to Keep Your Discord Bot Online 24/7
28:17
evenMoreCode
Рет қаралды 534
Правильный подход к детям
00:18
Beatrise
Рет қаралды 11 МЛН
I built a REAL Desktop App with both Tauri and Electron
12:22
Bufferhead
Рет қаралды 90 М.
How to Build Context Menus in Discord (User Profile Command)
34:34
How to Collect User Data in Your Discord Bot Database
20:57
evenMoreCode
Рет қаралды 97
Learn JavaScript With This ONE Project!
1:10:26
Tech With Tim
Рет қаралды 778 М.
Setting Up the Perfect Developer Environment on Linux for 2025
11:58
Advanced Command + Event Handler (Discord.js v14)
32:26
Under Ctrl
Рет қаралды 59 М.
How to make a Discord Bot for Beginners (Discord.js v14)
27:29
Under Ctrl
Рет қаралды 379 М.
Creating Discord Bot in NodeJS
21:45
Piyush Garg
Рет қаралды 56 М.
Windsurf vs Cursor: In-Depth AI Code Editor Comparison
18:14
Yifan - Beyond the Hype
Рет қаралды 21 М.