How To Build And Deploy Your First Discord Bot

How To Build And Deploy Your First Discord Bot

Web Dev Simplified

3 года назад

56,068 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Kavehh
Kavehh - 19.09.2023 19:20

my bot is offline i did no programming just made it in discord but when i added it to server its offline 24/7

Ответить
Mohammed Ali
Mohammed Ali - 07.09.2023 04:02

Run works fine for me but the bot is not working on discord for some reason, i added the GatewayIntentBits since it requires this in the new update

Ответить
yash
yash - 19.06.2023 17:01

This is probably one of the best tutorials out there. Thank you!

Ответить
tigerlep GAMING
tigerlep GAMING - 31.05.2023 17:54

heroku is no longer free is there another way to host the bot for free?

Ответить
Chris Lynch
Chris Lynch - 11.01.2023 20:38

i cant seem to get it to run. im only partially through the vid but, it says "client missing intents" I don't think i saw him go over this yet. Im researching it now. but if anyone knows, it would be helpful. Thanks

Ответить
imafire
imafire - 21.12.2022 00:22

How are you opening the console?

Ответить
DANser
DANser - 17.12.2022 07:04

UPDATE:
17 December 2022
Heroku is dead
New way to host one small bot for free is Daki. Which for me is even better because I hatw crawling in console documentation trying to tell github that I just want to update this file.

Also, new syntax for discord.js is this:

messageCreate instead of message,

new Discord.Client({ intents: [insert a number code]});

You can find that code on your discord creators panel where it has checkboxes with permissions for your bot, you can just check what you need and copy resulting code below.

Ответить
Night Hunter
Night Hunter - 04.12.2022 20:42

Heroku dynos are no longer for free

Ответить
Miloš Savić
Miloš Savić - 29.11.2022 02:32

The tutorial is great, but now it's outdated.

Ответить
Sonia Blanche
Sonia Blanche - 09.10.2022 16:04

on("message") is now on("messageCreated")

Ответить
user qwertyuiop
user qwertyuiop - 03.10.2022 11:01

can you make a new video for this since the content changed now?

Ответить
Business Wolf
Business Wolf - 28.05.2022 00:20

the newest version of the discord lib messes everything up, this tutorial needs an update

Ответить
Kumar Kelash
Kumar Kelash - 14.05.2022 17:45

nice but I need some advanced stuff related to bot

Ответить
shreejit pal
shreejit pal - 31.03.2022 14:04

This video needs an update with the v13 because nothing in this tutorials works anymore

Ответить
Soap Js
Soap Js - 13.03.2022 07:51

This is the most clear discord bot tutorial ever

Ответить
Sharvil Patil
Sharvil Patil - 24.02.2022 21:41

Thank you! This was very useful

Ответить
View Tonha
View Tonha - 09.02.2022 22:45

Hi. Do you know what might be the reason for this error: Web process failed to bind to $PORT within 60 seconds of launch

Ответить
Modern Supernova
Modern Supernova - 08.02.2022 18:38

I sent out my first bot but I don't know how to code! Nor is there any free coding websites for discord coding bots

Ответить
Harraz Masri
Harraz Masri - 04.02.2022 03:24

amongst many other videos, i find yours the best

Ответить
Strike Team
Strike Team - 10.01.2022 10:48

legit don't even know how to make a fuckin .emv file

Ответить
It_Ant_MaTe
It_Ant_MaTe - 08.12.2021 23:41

how do i hook it up to start an aternos server?

Ответить
CrystalTech
CrystalTech - 17.11.2021 20:01

my bot is offline

Ответить
MysticEntity
MysticEntity - 16.11.2021 01:24

Has nodejs or the discordjs change in the last few months, nothing of what he shows works for me

Ответить
Christian Vigilante
Christian Vigilante - 15.10.2021 18:15

Thanks bro

Ответить
Gone
Gone - 09.10.2021 15:19

I watched this only for the deployment, but I respect you and you are very helpful (I have also watched other videos)

Ответить
Maskiilov Mai
Maskiilov Mai - 07.10.2021 20:44

my code can't push :<

Ответить
TheBruhGames
TheBruhGames - 26.08.2021 12:44

I am getting an error while doing npm start, can anybody give the solution to fix it

Ответить
Stowaway // Diaconus
Stowaway // Diaconus - 04.07.2021 18:01

When I open the terminal it uses powershell and says that "npm isn't a recorgnised command"

Ответить
Chris Baxter
Chris Baxter - 11.06.2021 22:47

So many things not explained in this video.

For example opening a folder isnt as simple as just clicking what he did. Hate it when people are not detailed.

Stuck because there is no explantion to my issue with this video, not everyone fully understands code... nor Visual Studio Code.

Ответить
Canadaball animations ^-^
Canadaball animations ^-^ - 06.06.2021 01:00

how do you open visual studio code

Ответить
54JIN
54JIN - 05.06.2021 19:21

I am having trouble launching my bot to Heroku, everytime I try to launch it gives me an error after one minute of deployment exact, stating: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch. Please help

Ответить
Mihir Joshi
Mihir Joshi - 28.05.2021 19:06

A suggestion: You don't have to copy 'heart emoji' off google. There's emoji insertion feature in Windows 10: Press [Windows] + [ . ](dot key)

Ответить
Janith Cooray
Janith Cooray - 14.05.2021 12:03

Amazing tutorial!!!

Ответить
dest reed
dest reed - 03.05.2021 10:09

this is a good tutorial however, i had many issues understanding the visual studio code part.

Ответить
Swatilekha Roy
Swatilekha Roy - 15.04.2021 13:36

Amazing job!!! <3

Ответить
JpxqYT
JpxqYT - 14.04.2021 22:02

How do i Open the console?

Ответить
Stev Peifer
Stev Peifer - 02.04.2021 11:18

Don't go to Google to copy emojis... Use Win + . (Win + period).

Ответить
Lilian Kempenich
Lilian Kempenich - 02.04.2021 07:28

How did you install the packages through the terminal? I keep getting an error that $ isn't a thing, same with npm.

Ответить
Vincent Har
Vincent Har - 17.02.2021 06:18

I got (Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch)
how do i fixed this?

Ответить
Txpics
Txpics - 11.01.2021 08:22

do you have to be a discord bot dev?

Ответить
hexerous.
hexerous. - 06.01.2021 17:25

I can't believe you also do discord.js! I commend you!

Ответить
Badnercalabrese
Badnercalabrese - 05.01.2021 01:59

I'm embarassed to say but on the registration process I'm already getting stuck when trying to access $ npm init - y
I'm getting this error

$ : The term '$' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that
the path is correct and try again.
At line:1 char:1
+ $ npm unit -y
+ ~
+ CategoryInfo : ObjectNotFound: ($:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException

Ответить
Bhoomit Ganatra
Bhoomit Ganatra - 14.12.2020 10:31

Make a same video for telegram bot

Ответить
Noor Ameen
Noor Ameen - 10.12.2020 15:54

Wonderful content sir, thanks!

Ответить
Deveroonie
Deveroonie - 04.12.2020 21:21

Haha - our bots got the same coloured pfp

Ответить
Rohit Chowdhary
Rohit Chowdhary - 04.12.2020 09:59

can u tell the git command u typed or anyone else
thanks in advance

Ответить
Heshan Wijerathna
Heshan Wijerathna - 03.12.2020 22:13

in windows you can press windows+. then you will get all emojis. 🐱‍👤❤🎂

Ответить
Abhilash M Hadli
Abhilash M Hadli - 03.12.2020 16:20

Hey brother.... Is the deployment process is same for any other backend code?
Is it same even if ive react frontend code and node backend code?

Ответить