How to make a Discord Bot Without Downloading Anything + Host it Online FOREVER

Поделиться
HTML-код
  • Опубликовано: 1 окт 2024
  • Want to make a Discord Bot without downloading anything but also host it online forever? Awesome! This video is for you!
    Is it still working in 2024? Yes it is, but do check the pinned comment.
    In this video we're going to make a Discord Bot with downloading whatsoever + Make it stay online forever
    Last year, I made a video about how to make a discord bot without downloading anything and that went very well but unfortunately some viewers were not ok with it because of the quality/how to add bot/how do you type that and more
    also the video got a little outdated (thanks to DiscordJS v13)
    so this time, I decided to make a updated video with better quality and more precision
    Question: Why I can't paste in the shell?
    If you're having trouble pasting the code in the shell, right click and paste.
    Question: My repl.it is constantly getting deleted.
    skip the replit file step.
    -- Links --
    Discord Developers Portal:
    / discord
    Repl.it:
    repl.it
    Shell Code:
    gist.github.co...
    Uptime Robot:
    uptimerobot.com/
    If you want to learn the programming language that is used in this video, I've made a series specifically about it.
    • Master JavaScript for ...
    Need help with something?
    Join my Discord Server:
    ▶ / discord
    My Socials:
    Discord: / discord
    Github: github.com/ima... (I don't put source code there)
    Instagram: / imaginegamingplayofficial
    Website: imagine.cf
    --------------------
    Closed Captions/Subtitles Team:
    ▶ Heather7 muktayib (Spanish)
    / @heather7h
    ▶ CanadianQwerty (French)
    / @canadianqwerty699

    --
    Tags-:
    discord bot
    discord js
    how to make a discord bot
    thiscord bot
    discordjs bot
    how to make discord bot without downloading anything
    how to make a discord js bot
    discord.js
    discord bot no download
    discord bot tutorial
    how to make discord bot 24/7
    how to make discord bot online forever
    how to make a discord bot with 24/7 hosting
    how to make a discord and host it online forever
    ----
    Thank you so much for watching, be sure to subscribe so you don't miss the next part.
    Peace 💖

Комментарии • 5 тыс.

  • @ImagineGamingPlay
    @ImagineGamingPlay  2 года назад +896

    *Update 18 July, 2022*
    If your bot is not online and if you have followed the steps correctly, do the following:
    Open Shell and enter this command:
    npm install discord.js@13.9.0
    This should fix your problem
    also, if you're not able to create the .replit file, skip that part!
    ---------
    Continue watching this series:-
    Embeds - A special way to send message through your discord bot
    ruclips.net/video/wPtkvL9rUXg/видео.html
    Command Handling - Separate all your commands into different files
    ruclips.net/video/1KVGyUemRy0/видео.html

    • @死神の冷漠者
      @死神の冷漠者 2 года назад +6

      OMG finnaly!

    • @axefuc
      @axefuc 2 года назад +4

      can we edit the message?

    • @Creaminality
      @Creaminality 2 года назад +3

      hey can you put the code here so we dont need to code

    • @stunning-swap7gaming
      @stunning-swap7gaming 2 года назад +2

      CAN U SEND THE BOT CODE HERE PLS IT WENT OFFLINE

    • @死神の冷漠者
      @死神の冷漠者 2 года назад +1

      @@stunning-swap7gaming oh, if offline you need to active it, go to like end of video, he teach how to fix.

  • @mousomi8306
    @mousomi8306 2 года назад +1091

    Imagine finally found his channel

    • @helgin_lol
      @helgin_lol 2 года назад +21

      he lost it again

    • @helgin_lol
      @helgin_lol 2 года назад +6

      @@mousomi8306 ofc

    • @helgin_lol
      @helgin_lol 2 года назад +2

      @@mousomi8306 no need to worry

    • @Altrix2
      @Altrix2 2 года назад +2

      Good morning wakey wakey..

    • @YahyaXEditz
      @YahyaXEditz 2 года назад +1

      Oh wassup naruto fan

  • @swrvvjj
    @swrvvjj 2 года назад +6

    here's the code he did to get the bot online and responding to ping for whoever had problems following along like I did :
    const express = require("express");
    const app = express();
    app.listen(3000, () => {
    console.log("project is running!");
    })
    app.get("/", (req, res) => {
    res.send("Hello world!");
    })
    const Discord = require("discord.js");
    const client = new Discord.client({intents: ["GUILDS", "GUILD_MESSAGES"]});
    client.on("message", message => {
    if(message.content === "ping"){
    message.channel.send("pong")
    }
    })
    client.login(process.env.token);

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

      the req, res part isn’t working for me and idk what to do

  • @DJBendytheFox
    @DJBendytheFox 2 года назад +721

    I can’t wait for part 2! I’ve always wanted to make a bot of my own but am unable to code because damn it’s complicated. Very very helpful!

    • @AliBounds
      @AliBounds 2 года назад +24

      Fr i dont know where to start like how do people remember all that

    • @notnow7302
      @notnow7302 2 года назад +9

      @@AliBounds even the programmers says that the language of coding can be English and only English

    • @AliBounds
      @AliBounds 2 года назад +4

      @@notnow7302 that’s tuff for the non English folks do you know at least a bit of it?

    • @8-BitDhruva
      @8-BitDhruva 2 года назад +2

      yeah the code is so hard

    • @cheesestickler
      @cheesestickler 2 года назад +4

      cant code either like wtf is the concept why did they make it so hard

  • @elvinbonilla8436
    @elvinbonilla8436 Год назад +20

    I added a dad bot in my server💀💀💀

  • @wooshy_1617
    @wooshy_1617 2 года назад +299

    How is this possibly SO PERFECT..
    No long intro, direct on the point simple explanations, nice tutorial...
    You just gained a new subscriber......

    • @ImagineGamingPlay
      @ImagineGamingPlay  2 года назад +35

      Thank you

    • @kidbentleyYT
      @kidbentleyYT 2 года назад +13

      I have the same thing to say

    • @NormalTransportEnthusiast
      @NormalTransportEnthusiast 2 года назад +6

      @@ImagineGamingPlay why does it keep saying oauth2 doesnt have a bot

    • @TrashEntertainment_hehe
      @TrashEntertainment_hehe Год назад +5

      @@ImagineGamingPlay hey im having trouble with the part where u copy and paste the link to the url it keeps saying "OAuth2 application does not have a bot"

    • @NoamKeebs
      @NoamKeebs Год назад +2

      I first heard the tts and thought "oh another tts channel this probably wont be good" but its actually really well for a tts channel

  • @quitted-f9o
    @quitted-f9o 4 месяца назад +22

    OMG, Thanks so much for helping me in a long run I finally made my own 1st bot. I told my friends they didn't know much because they have many bots I was pretty happy
    BUT NOW EVERYTHING CHANGED

  • @dalnori_steam
    @dalnori_steam Месяц назад +4

    how do i get the packgages tab open?

  • @SuloreYtube
    @SuloreYtube Месяц назад +3

    I just used chatgpt but I subbed and liked

  • @yongbotical
    @yongbotical Год назад +13

    me in replit every 5 seconds: THERE'S MORE?

  • @Mara_Playz0001
    @Mara_Playz0001 3 месяца назад +6

    When I run the bot it stays offline :(

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

    omg repl is watching me it lierally told me the EXACT same code here as a suggestiion 😧😧

  • @CaptainSteward
    @CaptainSteward 2 года назад +250

    This is absolute perfection, and is the most simple tutorial ever, I recommend this to EVERYONE

    • @iblamecaden
      @iblamecaden 2 года назад +4

      @@ninjago.clips_ shut up

    • @inactive.5680
      @inactive.5680 2 года назад +2

      @@ninjago.clips_ pressed mf 💀 "cry abt it"

    • @prinzexisalowqualityytber
      @prinzexisalowqualityytber 2 года назад

      YES.

    • @Llamaboy_M
      @Llamaboy_M 2 года назад +8

      It was TOOO FAST HOW COULD IT BE THAT SIMPLE

    • @chonkydog6262
      @chonkydog6262 2 года назад

      This retarded tutorial uses repl it for hosting your bot will go down constantly and you can get banned. 0/10

  • @murker69420
    @murker69420 2 года назад +56

    hello, the tutorial is great and everything but there is a problem with the programming. At the part where you said to create a new file and to name it .replit, I tried it too but after entering it said "a file or folder with that name already exists". Did I do something wrong? Please help me.

    • @rozetepel7035
      @rozetepel7035 2 года назад +5

      I have it too

    • @ImagineGamingPlay
      @ImagineGamingPlay  2 года назад +34

      click on the three dots option (next to add file and add folder), then click on "Show hidden files"

    • @tangy9217
      @tangy9217 2 года назад +2

      v

    • @S1mply4rty
      @S1mply4rty 2 года назад

      @@ImagineGamingPlay thank you

    • @sunnyM18
      @sunnyM18 2 года назад +3

      @@ImagineGamingPlay what do I do after?

  • @nouxyfan_tom_timo5052
    @nouxyfan_tom_timo5052 2 года назад +22

    Can you put the code that you use on 4:13 in the description so that people can copy paste it?

    • @trxppinn
      @trxppinn 2 года назад +24

      Here’s the code that was used in that vid:
      const express = require("express");
      const app = express();
      app.listen(3000, () => {
      console.log("project is running!");
      })
      app.get("/", (req, res) => {
      res.send("Hello world!");
      })
      const Discord = require("discord.js");
      const client = new Discord.client({intents: ["GUILDS", "GUILD_MESSAGES"]});
      client.on("message", message => {
      if(message.content === "ping"){
      message.channel.send("pong")
      }
      })
      client.login(process.env.token);

    • @herrickvii
      @herrickvii 2 года назад

      const express = require("express");
      const app = express ();
      app.listen(3000, () => {
      console.log("Project is running!")
      })
      app.get("/", (req, res) => {})
      res.send("Hello world!");
      const Discord = required("discord.js")
      const client = new Discord.Client({intents: ["GUILDS","GUILD MESSAGES"]});
      client.on("messages", message => {
      if(message.content === "hello")
      message.channel.send("Hello")
      client.login(process.env.token);

    • @m4shermantank475
      @m4shermantank475 2 года назад +1

      @@trxppinn i was having so much trouble until i found this! ty!!!!!!!!

    • @trxppinn
      @trxppinn 2 года назад

      @@m4shermantank475 anytime

    • @toasteditzpcaccount1569
      @toasteditzpcaccount1569 2 года назад +1

      didnt work
      aaaaaaaaa

  • @gamer134xd
    @gamer134xd 9 месяцев назад +4

    I am facing an error. When i click on start it showing me npm command not found. How to fix it?

  • @madrid.es.blanca
    @madrid.es.blanca 2 года назад +11

    Can someone help me? When I click run this shows: "Make sure your repl has a port open and is ready to receive HTTP traffic." But I entered everything correctly. PLS HELPP

  • @datnguyen-ob6gn
    @datnguyen-ob6gn 2 года назад +52

    Watching this tutorial makes me feel as if I have a future in Computer Science or anything tech related

  • @ItsNotTsuki-Hoshi-Officiall
    @ItsNotTsuki-Hoshi-Officiall 2 месяца назад +3

    Nvm im doing this when im older im too lazy

  • @RobloxUser01
    @RobloxUser01 Месяц назад +2

    Wow I can Make Bot With this Tutorial for It! Very Great tutorial!

  • @jutc1010
    @jutc1010 Год назад +10

    Do you have updated coding for this? I followed your video but the bot doesn't come online.

    • @biancarosado5319
      @biancarosado5319 Год назад

      Someone commented with the fix for it. Not sure if you found an answer a month ago but it is here now.

    • @dailynene
      @dailynene Год назад

      @@biancarosado5319 where??

  • @Сидоджи-м1к
    @Сидоджи-м1к 2 года назад +85

    Thank you, kind man!Your guide is the best and easiest to understand of all that I have watched.

    • @TheWeeklyRobloxReporter
      @TheWeeklyRobloxReporter 2 года назад +5

      oh it took me 5 hours to understand
      (not a joke)

    • @guimguinleo
      @guimguinleo 2 года назад +1

      @@TheWeeklyRobloxReporter And it did not work for me (not a joke too)

    • @jackerlmann3853
      @jackerlmann3853 2 года назад

      I DONT KNWO HWO TO COPY THE LINK AND PASE IT IN SHELL ITS NTO WORKIGN (ITS NTO A JOKE)
      IT TOOK ME " HORUS ONLY FOR THAT AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
      A

    • @xxanomynousx7526
      @xxanomynousx7526 2 года назад

      @@guimguinleo i didnt even try because it looks way to complicated (not a joke either)

    • @VerzeHxD
      @VerzeHxD 2 года назад +1

      @@xxanomynousx7526 it was very easy because i mod and hack (not a joke either)

  • @TimelineCrafts
    @TimelineCrafts Год назад +2

    can u send me the coding u did I AM TIRED

  • @TrueUISonicOfficial975
    @TrueUISonicOfficial975 Месяц назад +2

    It says me to enter redirect uri what to do?

  • @yasirgulrmak7368
    @yasirgulrmak7368 Месяц назад +3

    ok so ı did the steps but in the replit part there is no packages part and there is no discord.js and express please help me

    • @dalnori_steam
      @dalnori_steam Месяц назад +1

      i have the same problem

    • @Nism0_pepr
      @Nism0_pepr 26 дней назад

      I think it doesn’t work on mobile

    • @KaiCreateOfficial
      @KaiCreateOfficial 25 дней назад

      the packages are called dependencies now

    • @KaiCreateOfficial
      @KaiCreateOfficial 25 дней назад

      @@dalnori_steam the packages are called dependencies now

    • @KaiCreateOfficial
      @KaiCreateOfficial 25 дней назад

      @@Nism0_pepr the packages are called dependencies now

  • @PremierRoyaIty
    @PremierRoyaIty 6 месяцев назад +4

    6:30 code
    const express = require("express");
    const app = express
    app.listen(3000, () => {}
    console.log("project is running!")
    })
    app.get("/", (req, res) => {})
    res.send("Hello world!");
    })
    const Discord = require("discord.js")
    const clint = new Discord.Client(intents: ["GUILDS", "GUILD_MESSAGES"])
    client.on("message", message => {
    if(message.content === "ping") {
    message.channel.send("pong")
    }
    })
    client.login(process.env.token);

  • @mayanstegmann
    @mayanstegmann Год назад +5

    Getting error when hitting "Run"::
    npm start
    sh: 1: npm: not found
    exit status 127

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

      I got that same message I know im a year late but you have to go back to shell and run that github command

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

      @@randomGuyOnTheInternet242it will fix it ?

  • @lotusprick2290
    @lotusprick2290 Год назад +6

    great Video btw! just 1 question. how do I get it to talk? i redid the actual code about ten times now and when I type out ping the bot never responds?? what can I do???

  • @DragonEmperor-Roblox
    @DragonEmperor-Roblox 4 месяца назад +2

    Half of the discord base is underaged how the fuck are they gonna do coding?????

  • @airijavit
    @airijavit 2 года назад +7

    when i make a file called .replit it says it already exists what do i do?

  • @kamdonbonesforexcoder
    @kamdonbonesforexcoder 5 месяцев назад +9

    dude its not working in 2024 my screen 100% differnt i cant create a bot its already their i cant create or generate a URL i made a new appliction and their was already a robot built and when i select bot permisions it doesnt save and it wont generate a url for me discord broke their bot creation please help my pages look 100% differnt wont let me make a bot or Oauth2url or anything it wont save when i select perisons?

    • @user-gr2po7tu3t
      @user-gr2po7tu3t 4 месяца назад

      Maybe u have a different link/page

    • @Kiara-og3ww
      @Kiara-og3ww 3 месяца назад

      Yeah like my bot isnt working because of that or idk 😭😭😭 its changed i cant understand a single thinggg

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

      FYI: this video is really old, currently discord.js v14 changed a lot of stuff and replit sucks aswell

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

      ​@@Kiara-og3ww Bro are u dumb?

  • @v1tt_0o
    @v1tt_0o 2 года назад +17

    Hello! Wonderful tutorial by the way, but i have one single problem. When i was adding the replit file it said “a file or folder with that name already exists” when it doesn’t.. i followed every step, i watched the video again till that part but i didn't do anything different from you. Is there an explanation to my problem?

    • @kirbyoui
      @kirbyoui 2 года назад

      having the same problem

    • @kirbyoui
      @kirbyoui 2 года назад +6

      i figure it out! click on the three dots besdies the add file button and click show hidden files

    • @v1tt_0o
      @v1tt_0o 2 года назад

      @@kirbyoui thank you sooooo much!!!

    • @zba1010
      @zba1010 Год назад

      @@kirbyoui wait, where do we put the npm thing in the file?? Do we delete the file and then put the npm thing????

    • @i-3137
      @i-3137 Год назад +1

      @@zba1010 basically once you .replit from hidden files you delete everything from it

  • @DeAtH4629
    @DeAtH4629 Год назад +1

    I ain’t jointing your discord server because you scammed me

  • @medhanshgupta1396
    @medhanshgupta1396 2 года назад +11

    Great tutorial but giving the code ( the big one ) would be appreciated

    • @rohamaali8695
      @rohamaali8695 2 года назад +1

      He does go in the discord and go bit commands and type -free

    • @iamorange320
      @iamorange320 2 года назад

      @@rohamaali8695 wait huh?

  • @stellahime
    @stellahime 2 года назад +11

    There's an issue with the syntax of your webserver code
    . It's causing a lot of concerns. Plus, you can't make a ".replit" file when there's already one in "hidden files". It will not allow you. Please update this. Thanks!

    • @im_lill
      @im_lill 2 года назад

      same for me

    • @ImagineGamingPlay
      @ImagineGamingPlay  2 года назад +11

      Click on the three dots option (next to add file and add folder), then click on "Show hidden files".
      You may delete the previous .replit and create a new one
      do not delete replit.nix.

    • @im_lill
      @im_lill 2 года назад

      @@ImagineGamingPlay ill try it. thanks

    • @Blueshow.
      @Blueshow. 2 года назад

      @@ImagineGamingPlay thanks this helped

    • @MaskedPanda.
      @MaskedPanda. Год назад

      @@ImagineGamingPlay ty

  • @notsoura6914
    @notsoura6914 2 года назад +7

    Bro you serious? I tried like 2 times and my never came online

    • @prince47244
      @prince47244 2 года назад

      Same

    • @Imran_FBD
      @Imran_FBD Год назад

      Shell Code
      npm init -y && npm i --save-dev node@16 && npm config set prefix=$(pwd)/node_modules/node && export PATH=$(pwd)/node_modules/node/bin:$PATH

    • @Imran_FBD
      @Imran_FBD Год назад

      Welcome

    • @lnerds
      @lnerds Год назад

      Same

  • @ItsNotTsuki-Hoshi-Officiall
    @ItsNotTsuki-Hoshi-Officiall 2 месяца назад +1

    My brain hurts from watching this but the lack of knowledge I'm getting from this-

  • @vicky1207
    @vicky1207 2 года назад +4

    It doesn't work! I wrote the code exactly like you did and still it doesn't work. Also i can't make a new file called .replit for some reason. Could you help me figure out what's going on here?

    • @eviltom5722
      @eviltom5722 Год назад

      you have to have show hidden files enabled because . replit exists

  • @JAxthegorilla_VR
    @JAxthegorilla_VR Месяц назад +3

    Bro IT DONT JOIN MY SERVER

  • @ladybug2750
    @ladybug2750 2 года назад +55

    great tutorial this needs more views this is better than the one that has millions of views the guy would just be out of breath every second like bru. This one is gg easy and straight to the point

  • @dumbluck3988
    @dumbluck3988 7 месяцев назад +2

    There was already a file named .replit what should I do so I can't make a new file what should I do?

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

      same for me

  • @ye2774
    @ye2774 2 года назад +4

    Bro After doing everything even the code, it shows
    "Package operation failed."
    Aslo I just coped your code in the video

    • @MyulMang
      @MyulMang 2 года назад

      SAME ISSUE HERE

  • @realElov
    @realElov 2 года назад +6

    can u make tutorial for / command please? btw your videos are so good :)

  • @JustGeorgiaBall
    @JustGeorgiaBall Год назад +3

    when i try to make the ".replit" file, its showing me a warning sign, what does that mean?

    • @Bxzadis
      @Bxzadis Год назад +2

      these days it wont work it happend to me , and when i pressed start the engine is broken or smth i think this tutorial is old ?! we need new update

    • @Tbonevods
      @Tbonevods Год назад +1

      You skip it the file is already premade

  • @guardianeatos
    @guardianeatos Месяц назад +1

    Hello, I've followed the tuturial (which is great btw) but for some reasons the ping pong part doesn't work

  • @AdmistVOD
    @AdmistVOD Год назад +76

    Update:
    for those who had an error.
    try again and make a new one
    simply follow the steps and...
    skip the .replit and yeah dont delete the .replit
    and thats it...
    and i had a mistake too
    i type experience instead express (on the package)
    thats why my code is not working

  • @EmpireAngels
    @EmpireAngels 2 года назад +77

    You explain it better than 90% of videos out there

    • @Chris-nc5xs
      @Chris-nc5xs 2 года назад +6

      But there's no explaining, just code for you to copy?

    • @chantivegaming9703
      @chantivegaming9703 2 года назад

      True he is better then those other youtubers

    • @Chris-nc5xs
      @Chris-nc5xs 2 года назад

      @@chantivegaming9703 Better how?

    • @OriginoSky
      @OriginoSky 2 года назад

      @@Chris-nc5xs This video is about how to make a discord bot that can host forever. wdym? or u want to make a bot without coding lol

    • @dontplsgx7934
      @dontplsgx7934 2 года назад

      @@OriginoSky more like a tutorial for people don’t know how to code. For the person learning code like me this video doesn’t explain anything so we cant learn anything from this vids. Maybe we can read the code ourselves though…

  • @iam_best
    @iam_best Год назад +4

    Got error SyntaxError: Error parsing /home/runner/Bot/package.json: Unexpected token
    SON at position 154
    Pls help

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

      Add a comma on the end of the line before "start"

  • @Nick12_45
    @Nick12_45 Год назад +1

    says unexpected string at 1060 or somethin

  • @olionnn4601
    @olionnn4601 2 года назад +4

    you can skip create .replit step or dont putting run = "npm start" if you have error with that step maybe can help you

  • @hazuji
    @hazuji 2 года назад +8

    hi! this didnt work for me but im sure its my fault and i probably made a typo somewhere while copying the code but i cant seem to find the problem, by any chance could you provide the full code for me to copy incase it was my typo error that made it not work? thanks a lot :))

    • @ImagineGamingPlay
      @ImagineGamingPlay  2 года назад

      I can't provide full code

    • @neotech3955
      @neotech3955 2 года назад

      @@ImagineGamingPlay ?

    • @owlcityisepic1585
      @owlcityisepic1585 2 года назад

      mjbu

    • @subzer0games287
      @subzer0games287 2 года назад

      @@ImagineGamingPlay why

    • @argusfrancis7597
      @argusfrancis7597 2 года назад

      const express = require("express");
      const app = express();
      app.listen(3000, () => {
      console.log("project is running!");
      })
      app.get("/", (req, res) => {
      res.send("Hello world!");
      })
      const Discord = require("discord.js");
      const client = new Discord.client({intents: ["GUILDS", "GUILD_MESSAGES"]});
      client.on("message", message => {
      if(message.content === "ping"){
      message.channel.send("pong")
      }
      })
      client.login(process.env.token);

  • @Zafelz
    @Zafelz 2 года назад +4

    i cant make the .replit file

    • @Zafelz
      @Zafelz 2 года назад

      can someone help me?

    • @Zafelz
      @Zafelz 2 года назад

      and when i serch it it says ne result found

  • @Lunay_studios
    @Lunay_studios Месяц назад +1

    how i do can code. i bad code. you can learn me the code?

  • @tenhe4
    @tenhe4 Год назад +5

    JUST LEVE THE CODE IN THE COMMANTS

    • @allulmao
      @allulmao Год назад +3

      bro ur a lazy sack of shit

  • @AdamsSkits
    @AdamsSkits Год назад +4

    It says: "Invalid bitfield flag or number: GUILDS"
    What should I do?

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

      Change the code up a bit like this:
      const { Client, GatewayIntentBits } = require("discord.js");
      const client = new Client({
      intents: [GatewayIntentBits.Guilds, GatewayIntentBits.GuildMessages],
      });

    • @VincentKok458
      @VincentKok458 22 дня назад

      replace with "Guilds" i had the same problem i guess they changed the syntax

  • @limecyangd
    @limecyangd 2 года назад +8

    I'll save this video to my playlist because its important and i love coding

  • @ogwoops6313
    @ogwoops6313 Год назад +2

    my bot is active but does not reply back ,im not sure what I did wrong

  • @nagatara
    @nagatara 2 года назад +7

    can you put the code link in the description so i can copy it
    nice tutorial btw!

    • @whonus3906
      @whonus3906 Год назад +1

      yeah my code isnt working for some reason, it says theres a crash loop but it would be a lot easier if i could copy and paste the code.

    • @virophage
      @virophage Год назад

      @@whonus3906 Yeah I have the same thing

  • @beronicous7086
    @beronicous7086 2 года назад +11

    "Your bot could get hacked and raid your server, so just put your necessary that your bot needs."
    **puts Kick and Ban**

    • @lcj3_
      @lcj3_ 2 года назад

      SAME

  • @Rxyyan_00
    @Rxyyan_00 11 месяцев назад +3

    when i tried making the .replit file it says that name is already taken

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

      same why tho

  • @souptikpaul6101
    @souptikpaul6101 25 дней назад +2

    Bro there is no packages section in 2024

    • @Steelem2YT
      @Steelem2YT 24 дня назад +1

      is called depencies now

  • @bigmancozmo
    @bigmancozmo 2 года назад +13

    Another way to keep is always on is with a replit bug: Run the repl and then close the tab. It'll stay running on their servers until you go in and stop it.

  • @silverngaming3347
    @silverngaming3347 2 года назад +7

    it didn't work to me because the repl said that my code are error, especially at the npm

    • @Hunterrrb
      @Hunterrrb 2 года назад

      yeah same

    • @alexfaur5279
      @alexfaur5279 2 года назад +3

      same it was a waste of time for me
      ugh

    • @dinonugert
      @dinonugert 2 года назад

      same

    • @cammm5237
      @cammm5237 2 года назад

      same

    • @smolsal
      @smolsal 2 года назад +3

      mine didnt work because "node ." didnt work

  • @kenquegaming
    @kenquegaming 2 года назад +8

    yes imagine gaming play know that he have a channel where his poggers subscribers are waiting for his video

  • @SwitchingAccount.
    @SwitchingAccount. Год назад +2

    Worst tutorial ever
    It took me 1 hour to do the code and I accidentally closed the tab
    NOW I LOST ALL MY WORK

    • @lantempo
      @lantempo Год назад +3

      what an idiot, thats your fault for deleting the tab and what did you expect? ofc it would take an hour

    • @SwitchingAccount.
      @SwitchingAccount. Год назад +1

      @@lantempo nigga

  • @DrakeZee
    @DrakeZee 2 года назад +6

    Awesome Video!
    My dad also made a discord bot for himself B)

    • @devout.2
      @devout.2 2 года назад +2

      Ur dad is a frickin legend

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

      Now add /dadjoke command lol

  • @Er_Manu09
    @Er_Manu09 2 года назад +5

    4:00 I'm stuck on that part because when I click create new file and write .replit it tells me that there is already a file with that name, can someone help me?

  • @princessaltheaherrera4878
    @princessaltheaherrera4878 2 года назад +4

    when i make the .replit folder it says that the folder already exist but i look for it theres none

    • @Loafyen
      @Loafyen 2 года назад

      you dont need the .replit

    • @chris2rich
      @chris2rich Год назад +1

      show hidden files

  • @sosobel5843
    @sosobel5843 6 месяцев назад +2

    The music tho ! What is this remix ?

  • @RobloxGamingAddict
    @RobloxGamingAddict Год назад +3

    3:32 - 3:35 confused me the most. Where did you get that code?

    • @failedaustrianartist
      @failedaustrianartist 11 месяцев назад

      its the shell, its built in

    • @Sir_blorpy
      @Sir_blorpy 10 месяцев назад

      I’m fucking losing my mind

    • @Sir_blorpy
      @Sir_blorpy 10 месяцев назад

      I need help and I can’t get to there discord

    • @Sir_blorpy
      @Sir_blorpy 10 месяцев назад

      TWO HOURS WASTED

  • @c0mple_Magic
    @c0mple_Magic Месяц назад +4

    Ig im the only one this doesn’t work for

    • @TrooperPlayzVR
      @TrooperPlayzVR 29 дней назад

      It don’t work for me either. It’s says npm not found for me

  • @anastasiosmilonas.-.484
    @anastasiosmilonas.-.484 2 года назад +7

    0:01 ok

  • @combineshowcases
    @combineshowcases 9 месяцев назад +1

    It doesn't work... thanks for nothing. When I run the code it gives errors and the website doesn't open

  • @EpicNukeOfficial
    @EpicNukeOfficial 2 года назад +24

    Great Video! I have been trying to find many different ways to creat discord bots for my server. This is super ez and straight to the point. I don't know why this doesn't have at least 1 million views this is legendary. Love It! U just earned a new sub. Keep up the good work and I will be here for when u blow up
    lol :p

    • @ZareefIsLive
      @ZareefIsLive 2 года назад +1

      tati video

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

      well about 1 million views...

  • @destineemoore3942
    @destineemoore3942 2 года назад +50

    amazing ! so glad i found you, you're the only one that helps me ! can't wait for part 2 & more information :)

  • @jdragonbb6029
    @jdragonbb6029 2 года назад +4

    At 4:02 , i can't add .replit because it says that the file is already made, and my shell looks different. What should I do?

    • @fayriie
      @fayriie 2 года назад

      yes same for me

    • @ImagineGamingPlay
      @ImagineGamingPlay  2 года назад +1

      click on the three dots option (next to add file and add folder), then click on "Show hidden files"

    • @aroshootingarrows
      @aroshootingarrows 2 года назад

      Excuse me, @Imagine Gaming Play I did just that and it already had a ton of code do I delete them? It says things like entry point, interpreter, and more but is their anyway I could give you a picture of it? If you do see this thank you for your time.

    • @ImagineGamingPlay
      @ImagineGamingPlay  2 года назад

      @@aroshootingarrows yes you may delete it and create a fresh .replit file

    • @aroshootingarrows
      @aroshootingarrows 2 года назад

      Thanks for answering. Sorry for the late reply.
      Have a good day/night/morning

  • @lantempo
    @lantempo Год назад +1

    999k views damn, 1k more views needed

  • @GDoggsChea69
    @GDoggsChea69 7 месяцев назад +4

    I did for like 4 hours and it didn’t work pls help me

  • @nmac101
    @nmac101 2 года назад +12

    It's easier to create bots on guilded. If discord added that function it would be good

  • @bathtub111
    @bathtub111 2 года назад +6

    This tutorial seamed really easy and easy to follow until i got to the part where you needed to edit the code on line 6 (3:42) I couldn't find the line of code anywhere in mine did i do something wrong before?

    • @0qu1
      @0qu1 2 года назад

      same! :(

  • @Vee_.is._here
    @Vee_.is._here 6 месяцев назад +1

    I thought it was easyyyy😭😭😭
    There's so much to do for just a bot?!

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

      you are literally coding something so
      🤷‍♂

  • @l1ghth9zelx4
    @l1ghth9zelx4 Год назад +6

    Me: just makes the bot
    Imagine: Writes a whole essay to make the bot online.
    Also ty this was really helpful ^^

  • @thesillyisback2918
    @thesillyisback2918 9 месяцев назад +8

    Thanks! had some trouble since this tutorial is a bit old and they added new features, but i was able to do it.

    • @palaceyt4068
      @palaceyt4068 9 месяцев назад +2

      I cant paste the code to replit can I get some help please.. his github says its private now and I cant copy it. I tried writing it there but it didnt work..

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

      @@palaceyt4068 npm init -y && npm i --save-dev node@16 && npm config set prefix=$(pwd)/node_modules/node && export PATH=$(pwd)/node_modules/node/bin:$PATH

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

      @@palaceyt4068 npm init -y && npm i --save-dev node@16 && npm config set prefix=$(pwd)/node_modules/node && export PATH=$(pwd)/node_modules/node/bin:$PATH

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

      Hey! Do you know where to locate packages in replit? 2024's got a new look!

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

      @@manuespiritu no idea thats a problem for me too

  • @the2401
    @the2401 2 года назад +11

    I use replit for school, and I had no idea it could be used for discord! Thank you!

  • @Goofybobman
    @Goofybobman Год назад +2

    I ain’t doin allat

  • @hiuramihate5934
    @hiuramihate5934 2 года назад +5

    Hey bro.
    Thanks to ur tutorial.
    Its easy to understand.
    Im now having a private discord bot :D
    Btw how do i make so the bot have a prefix?

    • @conquestinc
      @conquestinc 2 года назад

      change the messages your bot replies to to only have a certain character before the message. So It will say If the message Is equal to ".ping" It will reply with "pong"

  • @htpaGeeForce
    @htpaGeeForce 2 года назад +14

    Hi there! Thank you for the GREAT video tutorial, i could make my first bot without huge knowledge in coding! The bot is running, works perfectly on my DC channel, but if i close the web browser (or the tab with replit on it), the bot goes offline. I cannot make it run "for ever". Maybe i made a mistake somewhere... :( Sorry for asking, but do you have any idea what's wrong with it? Thank you, and sorry again!

  • @Dew-B3RRY
    @Dew-B3RRY 4 месяца назад +14

    It doesn’t work

    • @wynnchannel6870
      @wynnchannel6870 3 месяца назад +1

      Because this is discord js13 or even 12 or maybe 11
      You’re using v14 find different videos

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

      It’s because it was made two years ago

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

      It does with a bit of changes

  • @xnd-qu7rp
    @xnd-qu7rp 6 месяцев назад +1

    can u put the freaking code i was asking this for years

  • @EmpireAngels
    @EmpireAngels 2 года назад +5

    For those on mobile i have a solution to your problem
    Create a .replit fole
    Type run = "npm init -y && npm i --save-dev node@16 && npm config set prefix=$(pwd)/node_modules/node && export PATH=$(pwd)/node_modules/node/bin:$PATH"
    And run the file and then you can delete the .replit file or put what you want in there
    Your welcome

  • @Machinarydonnie
    @Machinarydonnie 9 месяцев назад +6

    A member in my server asked for a bot and usually my co-host handles those but she is offline so i had to handle it so thanks for this video!

    • @_dc_works_
      @_dc_works_ 9 месяцев назад +2

      Just curious did you get the paste for the shell to actually paste? I can’t get it

    • @_dc_works_
      @_dc_works_ 9 месяцев назад +1

      Nvm

  • @zelifyyy
    @zelifyyy 2 года назад +4

    When I try to make the .replit file, it says "a file or folder with that name already exists". Do you know the problem?

    • @motok0k0
      @motok0k0 2 года назад

      same to me

    • @jennicaldwell3945
      @jennicaldwell3945 2 года назад +1

      if u click the three more buttons then select show hidden files one is called .replit

    • @UhmActually.
      @UhmActually. 2 года назад +2

      @@jennicaldwell3945 OMG DUDE TYSM

    • @Slicebreader
      @Slicebreader 2 года назад

      read the description dumbass

  • @Shinous.
    @Shinous. 8 месяцев назад +1

    node:internal/modules/package_json_reader:93
    throw error;
    ^
    SyntaxError: Error parsing /home/runner/AcclaimedOffshoreInverse/package.json: Expected ',' or '}' after property value in JSON at position 163
    at parse ()
    at read (node:internal/modules/package_json_reader:80:16)
    at readPackage (node:internal/modules/package_json_reader:141:10)
    at readPackageScope (node:internal/modules/package_json_reader:164:19)
    at shouldUseESMLoader (node:internal/modules/run_main:72:15)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:129:24)
    at node:internal/main/run_main_module:28:49 {
    path: '/home/runner/AcclaimedOffshoreInverse/package.json'
    }

  • @blackblurgaming9760
    @blackblurgaming9760 2 года назад +4

    Thank you so much :D it was really easy to follow

  • @spaxshy2924
    @spaxshy2924 2 года назад +6

    I really wanted to have to the console code pasted in the description, it also did not work for me and that is probably my fault. But this video is actually really helpful.

    • @ImagineGamingPlay
      @ImagineGamingPlay  2 года назад +3

      You have to right click and paste on the shell

    • @Trunks_thealt
      @Trunks_thealt 2 года назад

      @@ImagineGamingPlay plz do i need type link?

    • @ImagineGamingPlay
      @ImagineGamingPlay  2 года назад

      @@Trunks_thealt no you copy link and paste in shell by rightclicking

    • @amaki496
      @amaki496 2 года назад

      same :(

  • @shivamnair7107
    @shivamnair7107 2 года назад +7

    I despised reality for not having proper bot hosting, thanks man, you saved my bot. You're an Imagination (pun intended)

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

      My bot is going offline. Can you share your bot hosting experience?

  • @antareepsantra2332
    @antareepsantra2332 Месяц назад +1

    the bot is showing online but even if I write ping it does not reply

  • @ArrowVark
    @ArrowVark 2 года назад +4

    THANK YOU SO MUCH!!!!! I could never find a tutorial that worked, so I gave up after a bit. Then I stumbled acrost your video, and it worked!!!!

  • @Izutan_227
    @Izutan_227 2 года назад +7

    Ohh, first clear tutorial for discord amateurs! Subscribed! ❤️

  • @nervouskoala8876
    @nervouskoala8876 Год назад +11

    I have been searching for a quotation mark tutorial. Thank you! (btw good vid)