EvenMoreCode
EvenMoreCode
  • Видео 17
  • Просмотров 94 556
Code A Discord Bot in Less Than 40 mins - Full Tutorial in 1 Single Video (NO EXPERIENCE REQUIRED)
In this step-by-step tutorial, you'll learn how to create a Discord bot in under 40 minutes using discord.js! This video is perfect for beginners with no coding experience, and I will guide you through the entire process from start to finish. Whether you're new to programming or just looking to add a bot to your server, this video will show you how to build a custom bot with Node.js, JavaScript, and the Discord Developer Portal.
By the end of this tutorial, you'll have a fully functional bot that can go online within your server, respond to slash commands, and more. We also cover common bot features like event handling, message commands, and a general template of how to code future slash c...
Просмотров: 104

Видео

How to Create Embeds in Discord.js: A Step-by-Step Guide
Просмотров 1,9 тыс.Год назад
How to Create Embeds in Discord.js: A Step-by-Step Guide Welcome to my step-by-step guide on how to build custom embeds in Discord.js! In this tutorial, I show you how to enhance your Discord bot's messages with stylish and informative embeds that grab your audience's attention. With Discord.js, creating custom embeds is a breeze, and we'll guide you through the entire process. Throughout this ...
How to Code ChatGPT into Your Discord Slash Commands
Просмотров 2 тыс.Год назад
How to Integrate ChatGPT into Your Discord Slash Commands Are you looking to enhance your Discord bot's functionality and provide more engaging conversations for your users? Look no further than ChatGPT, a powerful language model developed by OpenAI. In this tutorial, we'll show you how to integrate ChatGPT into your Discord bot using Discord.js, the popular Node.js module for creating Discord ...
Buy Custom Roles with a Slash Command: Discord Economy Bot Tutorial (Part 2)
Просмотров 1,7 тыс.Год назад
Buy Custom Roles with a Slash Command: Discord Economy Bot Tutorial Create a Discord Economy Bot from scratch! Coding a Discord Bot is actually not as complicated as it sounds. In this discord bot tutorial series we are using slash commands the new way for bots to interact with users on discord. Slash Commands enable a munch better user experience on discord and makes your bot seem a whole lot ...
How to Create a Shop for Your Discord Economy Bot (Part 1)
Просмотров 8 тыс.Год назад
How to Create a Shop for Your Discord Economy Bot Create a Discord Economy Bot from scratch! Coding a Discord Bot is actually not as complicated as it sounds. In this discord bot tutorial series we are using slash commands the new way for bots to interact with users on discord. Slash Commands enable a munch better user experience on discord and makes your bot seem a whole lot more professional....
Custom Activity Status for Your Discord Bot
Просмотров 3,2 тыс.Год назад
How to Set a Custom Activity Status for Your Discord Bot Create a Discord Economy Bot from scratch! Coding a Discord Bot is actually not as complicated as it sounds. In this discord bot tutorial series we are using slash commands the new way for bots to interact with users on discord. Slash Commands enable a munch better user experience on discord and makes your bot seem a whole lot more profes...
Coding a Gamble Game For Your Economy Discord Bot (2023)
Просмотров 6 тыс.Год назад
Coding a Gamble Game For Your Economy Discord Bot (2023) Create a Discord Economy Bot from scratch! Coding a Discord Bot is actually not as complicated as it sounds. In this discord bot tutorial series we are using slash commands the new way for bots to interact with users on discord. Slash Commands enable a munch better user experience on discord and makes your bot seem a whole lot more profes...
Coinflip Slash Command For Your Discord Bot (2023)
Просмотров 3,6 тыс.Год назад
Coinflip Slash Command For Your Discord Bot (2023) Create a Discord Economy Bot from scratch! Coding a Discord Bot is actually not as complicated as it sounds. In this discord bot tutorial series we are using slash commands the new way for bots to interact with users on discord. Slash Commands enable a munch better user experience on discord and makes your bot seem a whole lot more professional...
Add & Subtract Admin Commands for Your Discord Currency Bot
Просмотров 1,5 тыс.Год назад
Add & Subtract Admin Commands for Your Discord Currency Bot Create a Discord Economy Bot from scratch! Coding a Discord Bot is actually not as complicated as it sounds. In this discord bot tutorial series we are using slash commands the new way for bots to interact with users on discord. Slash Commands enable a munch better user experience on discord and makes your bot seem a whole lot more pro...
How to Code a Leaderboard Slash Command For Your Discord Bot (2023)
Просмотров 7 тыс.Год назад
How to Make a Leaderboard For Your Discord Economy Bot (2023) Create a Discord Economy Bot from scratch! Coding a Discord Bot is actually not as complicated as it sounds. In this discord bot tutorial series we are using slash commands the new way for bots to interact with users on discord. Slash Commands enable a munch better user experience on discord and makes your bot seem a whole lot more p...
Coding a Donate Slash Command for Your Discord Currency Bot (2023)
Просмотров 2,4 тыс.Год назад
Coding a Donate Slash Command for Your Discord Currency Bot (2023) Create a Discord Economy Bot from scratch! Coding a Discord Bot is actually not as complicated as it sounds. In this discord bot tutorial series we are using slash commands the new way for bots to interact with users on discord. Slash Commands enable a munch better user experience on discord and makes your bot seem a whole lot m...
Coding a Daily Slash Command for Your Discord Bot (2023)
Просмотров 4,2 тыс.Год назад
Coding a Daily Slash Command for Your Discord Bot (2023) Create a Discord Economy Bot from scratch! Coding a Discord Bot is actually not as complicated as it sounds. In this discord bot tutorial series we are using slash commands the new way for bots to interact with users on discord. Slash Commands enable a munch better user experience on discord and makes your bot seem a whole lot more profes...
[2023] How to Setup a Database for Your Discord Bot Using MongoDB (Part 5)
Просмотров 8 тыс.Год назад
Create a Discord Currency Bot from scratch! Coding a Discord Economy Bot is actually not as complicated as it sounds. In this discord bot tutorial series we are using slash commands the new way for bots to interact with users on discord. Slash Commands enable a munch better user experience on discord and makes your bot seem a whole lot more professional. { Access Source Code } patreon.com/EvenM...
[2023] How to Make Slash Commands Using Discord.js (Part 4)
Просмотров 5 тыс.Год назад
Create a Discord Currency Bot from scratch! Coding a Discord Economy Bot is actually not as complicated as it sounds. In this discord bot tutorial series we are using slash commands the new way for bots to interact with users on discord. Slash Commands enable a munch better user experience on discord and makes your bot seem a whole lot more professional. { Access Source Code } patreon.com/EvenM...
[2023] How to Code a Event & Command Handler For Your Discord Bot (Part 3)
Просмотров 8 тыс.Год назад
[2023] How to Code a Event & Command Handler For Your Discord Bot (Part 3)
[2023] How to Register Your Bot Using Discord Developer Portal (Part 2)
Просмотров 9 тыс.Год назад
[2023] How to Register Your Bot Using Discord Developer Portal (Part 2)
[2023] How to Code a Discord Bot For Beginners (Part 1)
Просмотров 23 тыс.Год назад
[2023] How to Code a Discord Bot For Beginners (Part 1)

Комментарии

  • @sebas9111
    @sebas9111 6 часов назад

    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 6 часов назад

      Hmm are you importing “Collection” from “discord.js” on line 3?

    • @sebas9111
      @sebas9111 6 часов назад

      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

  • @wodniara319
    @wodniara319 День назад

    heeelp. undefined Error [TokenInvalid]: An invalid token was provided. at Client.login (/home/runner/Deadpool/index.js/node_modules/discord.js/src/client/Client.js:216:52) at Object.<anonymous> (/home/runner/Deadpool/index.js/index.js:39:8) at Module._compile (node:internal/modules/cjs/loader:1358:14) at Module._extensions..js (node:internal/modules/cjs/loader:1416:10) at Module.load (node:internal/modules/cjs/loader:1208:32) at Module._load (node:internal/modules/cjs/loader:1024:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12) at node:internal/main/run_main_module:28:49 { code: 'TokenInvalid' }

    • @EvenMoreCode
      @EvenMoreCode День назад

      Hey! Did you set your token in your .env file?

  • @j4kloes
    @j4kloes 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

    • @j4kloes
      @j4kloes День назад

      @@EvenMoreCode now having issues with keeping bot up, ping keeps going down

    • @EvenMoreCode
      @EvenMoreCode День назад

      @@j4kloes What do you mean ping keeps going down? Like you lose internet?

  • @ayero.
    @ayero. 4 дня назад

    He’s backkk😭🙏

  • @Phage-
    @Phage- 4 дня назад

    The legend is back!

  • @EvenMoreCode
    @EvenMoreCode 4 дня назад

    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!

  • @JakobsMusicCorner
    @JakobsMusicCorner 4 дня назад

    Welcome back! Are you going to be posting more often again?

    • @EvenMoreCode
      @EvenMoreCode 4 дня назад

      Yes sir! Let me know if you have any requests for future topics I should cover

  • @cool_HABIBI
    @cool_HABIBI 4 дня назад

    no way bro is back

  • @Jaoryx
    @Jaoryx Месяц назад

    Here one year later and I can tell you, this idea is fun!! I only needed around 80 lines of code by using arrays to do everything at once, but I love this concept! Thanks!

  • @bruhman-y8u
    @bruhman-y8u Месяц назад

    it says code: BitFieldInvalid Please help!!!

    • @EvenMoreCode
      @EvenMoreCode 4 дня назад

      Let me know if you still need help!

  • @ASurvivalOFTheFittest
    @ASurvivalOFTheFittest Месяц назад

    So, I have played videos part 1-3 over and over checking and making sure everything is correct. after tying in "node ." to log into discord, it keeps giving me an error code saying 'bitfieldinvalad" if anyone can help me with this issue I would appreciate it, because im getting a little frustrated thanks a lot.

    • @EvenMoreCode
      @EvenMoreCode 4 дня назад

      Hey! Not sure if your still having this issue but I just uploaded a new video that is much more concise and goes over step by step what you need for creating a discord bot with updated code for 2024. Let me know if you have any further problems!

  • @spritesnsodas6105
    @spritesnsodas6105 Месяц назад

    guys remember to save !! i had some troubles at first because im so used to things having autosave- this does nto !! ctrl+S !! also i mispelled some things, so if you get an error saying something isnt defined, make sure to check you spelled it right every time !! :]

  • @whathuh6965
    @whathuh6965 2 месяца назад

    WOW! JUST WOW!

  • @cozyannie
    @cozyannie 2 месяца назад

    how would I set an emoji as a item people can buy and an emoji as a coin?

    • @EvenMoreCode
      @EvenMoreCode 4 дня назад

      This would depend on how you want to store it but for example in your database you can have a shop item and use the emoji name as the shop item name. Then when someone buys an emoji then you would have to add that to their inventory which you would track in your database

  • @jshores3
    @jshores3 2 месяца назад

    Hello, I am brand new at this... and I trying to build a leaderboard for American Truck Simulator in a Discord to tell me who has the most miles. We use Trucks Book to keep up with the mileage of members in the company. Can you please help me?

    • @EvenMoreCode
      @EvenMoreCode 4 дня назад

      I believe you would need to make some kind of api request to retrieve the information from your trucks book. Then you can use that data and display into the leaderboard

  • @krecikk2
    @krecikk2 2 месяца назад

    TypeError: path is not a function

    • @EvenMoreCode
      @EvenMoreCode 4 дня назад

      Make sure to double check your syntax and spelling of the entire code. This sounds like you may have a typo in your code.

  • @nubbycastration
    @nubbycastration 3 месяца назад

    ily.

  • @Th7nderGaming
    @Th7nderGaming 3 месяца назад

    wdym all new

  • @ArtFanClub_
    @ArtFanClub_ 3 месяца назад

    😊

  • @Ketunmetku
    @Ketunmetku 4 месяца назад

    TOWER AND MINES WOULD BE GREAT

  • @vuhoangphattai9306
    @vuhoangphattai9306 4 месяца назад

    help me Error: Cannot find module 'node:fs' Require stack: - C:\Users\Admin\Downloads\discord-bot\index.js at Function.Module._resolveFilename (node:internal/modules/cjs/loader:924:15) at Function.Module._load (node:internal/modules/cjs/loader:769:27) at Module.require (node:internal/modules/cjs/loader:996:19) at require (node:internal/modules/cjs/helpers:92:18) at Object.<anonymous> (C:\Users\Admin\Downloads\discord-bot\index.js:2:12) at Module._compile (node:internal/modules/cjs/loader:1092:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1121:10) at Module.load (node:internal/modules/cjs/loader:972:32) at Function.Module._load (node:internal/modules/cjs/loader:813:14) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:76:12) { code: 'MODULE_NOT_FOUND', requireStack: [ 'C:\\Users\\Admin\\Downloads\\discord-bot\\index.js' ] }

    • @EvenMoreCode
      @EvenMoreCode 4 дня назад

      Hmm sounds like you may not have node installed correctly. When doing “node -version” in your terminal does an error come back?

  • @RileyBowtell
    @RileyBowtell 5 месяцев назад

    I'm having issues with the code mostly with only deleting the console.log but the terminal has an error that says module not found 'dotenv'

    • @EvenMoreCode
      @EvenMoreCode 4 дня назад

      If it says module not found then you would need to do “npm install dotenv” to install that module so that you can use it

  • @GuiKoficial
    @GuiKoficial 5 месяцев назад

    I'm getting this error when I run the npm install discord.js (reason: unable to verify the first certificate)

    • @EvenMoreCode
      @EvenMoreCode 4 дня назад

      You could try one of these fixes to see if it helps: stackoverflow.com/questions/40000952/unable-to-verify-the-first-certificate-when-running-npm-install

  • @gelecodmyt
    @gelecodmyt 5 месяцев назад

    TypeError: isJSONEncodable is Not a function

    • @gelecodmyt
      @gelecodmyt 5 месяцев назад

      Help pls

    • @EvenMoreCode
      @EvenMoreCode 4 дня назад

      Check for typos, it looks like you maybe have typos in that file

  • @El_Snipe
    @El_Snipe 6 месяцев назад

    SUPER!

  • @lancenewton9019
    @lancenewton9019 6 месяцев назад

    hey man. I am able to deploy the command with no issues, but when I try to specifically use the /balance command, I recieve a popup stating "The application did not respond". I think I have found the problem within the startup. After typing "node ." to startup the bot it connects to the database and everything but it says... PS C:\Users\myuse\OneDrive\Desktop\Discord Bot> node . (node:11072) [MONGODB DRIVER] Warning: useNewUrlParser is a deprecated option: useNewUrlParser has no effect since Node.js Driver version 4.0.0 and will be removed in the next major version (Use `node --trace-warnings ...` to show where the warning was created) (node:11072) [MONGODB DRIVER] Warning: useUnifiedTopology is a deprecated option: useUnifiedTopology has no effect since Node.js Driver version 4.0.0 and will be removed in the next major version Ready! Logged in as The Villain Bot#1193 Connected to the database!

    • @charliepotts1442
      @charliepotts1442 6 месяцев назад

      ah thats the exact error that im getting, this is the one bug that i can't seem to fix for some reason

    • @kaustubhmishra1574
      @kaustubhmishra1574 6 месяцев назад

      same brother and you know if we close the site of mongodb it disconnects from the database and also the commands couldn't be run. I want that my bot works even when I'm not there in the server and don't need to open the vs code and then terminal and call for node . however this issue can still be resolved using heroku but still the database connection one sucks as I couldn't find any way to make it's connections permanent with my database without the IP address getting removed.

    • @ayato1569
      @ayato1569 4 месяца назад

      I found a way to solve this, thank god, and it was accidental. for me, i was missing a "profileData" keyword in the interactionCreate.js file. basically, around line 33 you must have this line somewhere inside a try { await command.execute(interaction, profileData); well.. i did not add the profileData parameter the first time, but once i did and then run the deploy-commands.js file to update my commands, it was working normally. @lancenewton9019 @charliepotts1442 @kaustubhmishra1574 i hope i can help at least one of you, in case this is your problem too. make sure to double check every part of your code and make sure that profileData is every where it needs to be, because otherwise i assume the bot wont respond since it cant grab your data from the database to display it.

  • @kyiokaOW
    @kyiokaOW 7 месяцев назад

    thank you so much! i followed so many videos on how to do it, but for some reason yours work!

    • @EvenMoreCode
      @EvenMoreCode 4 дня назад

      Glad to hear that! Good luck on your coding journey! :)

  • @Ilikecheesecake24
    @Ilikecheesecake24 7 месяцев назад

    Mine says it can't find the module for my discord bot folder

    • @EvenMoreCode
      @EvenMoreCode 4 дня назад

      What’s the exact error your getting and when does this occur?

  • @NotTqm
    @NotTqm 7 месяцев назад

    python tutorial?

    • @EvenMoreCode
      @EvenMoreCode 4 дня назад

      Hmmm maybe… are there no good quality python tutorials out there? If not I could dabble into that

  • @TheDevin179
    @TheDevin179 7 месяцев назад

    More gamble commands please

  • @Baller_Studio-Games
    @Baller_Studio-Games 7 месяцев назад

    pls make a video about buttons

  • @PawzPD
    @PawzPD 7 месяцев назад

    12:12

  • @henori6035
    @henori6035 8 месяцев назад

    how i can do it with canvafy for leaderboard with messages?

  • @alexwise5402
    @alexwise5402 8 месяцев назад

    Says error cannot find module 'node.fs'

    • @EvenMoreCode
      @EvenMoreCode 4 дня назад

      Sounds like node was not installed correctly. Try to reinstall node on your system

  • @iam_rayanx
    @iam_rayanx 8 месяцев назад

    how can i know the random flip so i can win every time pls find a way

    • @Etx_Nova
      @Etx_Nova 27 дней назад

      Yes bro i need to know

    • @EvenMoreCode
      @EvenMoreCode 4 дня назад

      What do you mean? You would like a way to manually set what the coin flips to?

  • @jaycoolw
    @jaycoolw 8 месяцев назад

    Hey man, I just wanna let you know your channel and videos are extremely underrated

    • @EvenMoreCode
      @EvenMoreCode 4 дня назад

      Thank you so much bro! Really appreciate that!

  • @giorzio9829
    @giorzio9829 8 месяцев назад

    i typed node . but nothing happen can someone help?

  • @Kolumnmai
    @Kolumnmai 8 месяцев назад

    It’s not in my server wtf

    • @EvenMoreCode
      @EvenMoreCode 4 дня назад

      Oh no they have done some updates recently. Have you been able to get the link then select which server to add it to?

  • @joshuan.
    @joshuan. 8 месяцев назад

    Errors I made: index, line 11: 16: The C "new Client" should be capital index, line 21: I guess my muscle memory took over because I typed "path.json" instead of "path.join" If you're having issues, try looking there!

  • @EmilHytting
    @EmilHytting 8 месяцев назад

    i dont know why, but when i try execute the command on discord it says "Application didn't answare" im kinda new to all this with JavaScript.. :/

    • @EvenMoreCode
      @EvenMoreCode 4 дня назад

      Hmmm let me know if you still need any help!

  • @CxnzYT
    @CxnzYT 8 месяцев назад

    dotenv won't make a new file when i do "npm install dotenv"

    • @EvenMoreCode
      @EvenMoreCode 8 месяцев назад

      Yeah you will have to create the .env file in your directory yourself. But it needs that dotenv package to use it properly.

  • @MackaiiiHD
    @MackaiiiHD 8 месяцев назад

    isn't start for me the bat has not loggin

  • @minecraft_tutorials5580
    @minecraft_tutorials5580 9 месяцев назад

    How can i fix "undefined coins" , i cant get rid of it

    • @EvenMoreCode
      @EvenMoreCode 4 дня назад

      Most likely a typo somewhere in your code

  • @Lolgor
    @Lolgor 9 месяцев назад

    I cannot figure out how to display the Global Name of user, since the username can differ what the user is actually known as in the server. I've tried for example to output ${user.globalName} but it never works, either it gives an error or says undefined. The globalname works like a charm in the footer though

    • @EvenMoreCode
      @EvenMoreCode 4 дня назад

      Did you end up figuring this out?

  • @Lolgor
    @Lolgor 9 месяцев назад

    What a great tutorial series, thank you very much!

    • @EvenMoreCode
      @EvenMoreCode 4 дня назад

      You’re very welcome! Glad you enjoyed! Good luck on your coding journey

  • @brandonbrothers7495
    @brandonbrothers7495 9 месяцев назад

    Your code is randomly changing after you type it, mine isn't doing that. Should I be concerned?

    • @latency3889
      @latency3889 9 месяцев назад

      You didnt install the extension he showed in the second video

  • @brandonbrothers7495
    @brandonbrothers7495 9 месяцев назад

    Control Coma doesnt do anything for me...

    • @brandonbrothers7495
      @brandonbrothers7495 9 месяцев назад

      figured it out, just had to go to settings and manually open it

  • @bwllsdavid
    @bwllsdavid 9 месяцев назад

    Amazing tutorial. Easy to follow, everything works, huge thanks man! Now let's setup a daily command :D

  • @bwllsdavid
    @bwllsdavid 9 месяцев назад

    Really simple and easy first tutorial, can't wait to pursue my bot creation with your vids! I know how to code but I was kinda scared of setting everything up because I don't usually use node etc. but your video has made it amazingly easy. Thank you so much!

  • @Savage_Rager
    @Savage_Rager 9 месяцев назад

    "Control COMA"