Тёмный

How to make a GPT (AI) powered Discord Chatbot 

Niconiconii
Подписаться 6 тыс.
Просмотров 17 тыс.
50% 1

Опубликовано:

 

15 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 92   
@Niconiconii
@Niconiconii Год назад
Do y'all want a video explaining the magic behind GPT-3 and ChatGPT? Like this comment to let me know if you do :) Feel free to also comment about other content you'd like to see!
@mavineshnambiarkannan8971
@mavineshnambiarkannan8971 Год назад
definitely like it bro....hope you can add more advanced stuff you can add into this current bot as I am just starting to code and would definitely would love to watch you do them. I have seen some of your other tutorial on discord related things. Keep up the goodwork.
@premai02
@premai02 Год назад
syntax error , i copy your file manually , bcoz your git link not able directly ar replit , can your help me ?
@RandomGuy-hv7tb
@RandomGuy-hv7tb Год назад
Yeah video regarding chatgpt jailbreak can also become a good topic too
@holo406
@holo406 5 месяцев назад
what if we want to host the gpt chatbot to run 24/7 externally and not in our local environment? what should we do and how? do you have a tutorial for it? Thanks
@irelia_master4487
@irelia_master4487 12 дней назад
a question do i have to pay just to use ai bot ?
@softwaren
@softwaren Год назад
I did it with Python, I wrote it myself later I found out that there is such a wonderful person like you
@vincentrussell3213
@vincentrussell3213 Год назад
Does this work for anyone. I can't communicate with my discord bot. I type something in and don't see anything in the console and don't receive an answer to my question from gpt chat?
@hmo9434
@hmo9434 Год назад
It's not working for me either
@neorinvideos
@neorinvideos Год назад
The bot can not put links or code blocks when it is asked something about programming (the message is cut off without the code). any suggestions on how to fix it?
@chozen_ptp
@chozen_ptp 10 месяцев назад
When I type in "node index.js" in the terminal it doesn't do anything. What would the issue be? I grabbed the bot token correctly and invited the bot to my server. Everything in the first 16 lines of code is exactly what's in the video but it won't show me that the bot is logged in
@aladinme
@aladinme Год назад
very simple tuto bud! can you make a part 2 with more advanced knowledge and more features to be added in the BOT?
@Niconiconii
@Niconiconii Год назад
idk if i will bc part twos of videos tend to get a lot less attention bc it doesn't make sense for anyone except those that already saw the first one to see the second
@holo406
@holo406 5 месяцев назад
@@Niconiconii what if we want to host the gpt chatbot to run 24/7 externally and not in our local environment? what should we do and how? do you have a tutorial for it? Thanks
@mazenalaraby6506
@mazenalaraby6506 Год назад
i got 429 too many requests axios error any help
@kzgameplayz
@kzgameplayz Год назад
Just wonder if we can put some command in those code im so noob , like a command for link a channel ID
@botgaming1343
@botgaming1343 Год назад
I want this in a self bot csn u do that?
@eyoubbenkacem5471
@eyoubbenkacem5471 Год назад
great video, awesome content, keep it up brother !
@yeetyeet5087
@yeetyeet5087 Год назад
happy you're back!
@karthiksharma98
@karthiksharma98 Год назад
everything is working finr on my server where i added this and starts writing codes but when i invite this bot to my other channels it doesnt work, the bot stays online but it doent work on other channels at all, please help niconiconii
@BrokenGamesStudios
@BrokenGamesStudios Год назад
I get this error when I use the bot ReferenceError: openai is not defined at Client. (C:\Users\User\Desktop\ChatBot\index.js:52:22) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) Emitted 'error' event on Client instance at: at emitUnhandledRejectionOrErr (node:events:393:10) at process.processTicksAndRejections (node:internal/process/task_queues:84:21)
@eugene9340
@eugene9340 Год назад
The code worked......for a moment, and then when I restarted my mac, it shows this message : TypeError: Cannot read properties of null (reading 'displayName') If you have time, could you help me with this error message?
@tiagoassuncao3702
@tiagoassuncao3702 Год назад
The same thing happened to me
@tiagoassuncao3702
@tiagoassuncao3702 Год назад
I fixed it by creating another text channel and replacing the id on line 25 of index.js
@eugene9340
@eugene9340 Год назад
@@tiagoassuncao3702 thanks for your comment, do you mean 'const BOT_CHANNEL' when you said 'the id on line 25'? Sorry, I'm new to all this, still trying to figure things out! but thank you very much!
@tiagoassuncao3702
@tiagoassuncao3702 Год назад
@@eugene9340 exactly, if you create another text channel and put its ID in (const BOT_CHANNEL = "your text channel ID") it will work again
@eugene9340
@eugene9340 Год назад
@@tiagoassuncao3702 thanks! do you mean I should change the channel ID everytime this happens..? because I've tested the code in multiple channels.
@Meteor7283
@Meteor7283 Год назад
how to make this bot code?, when i say to him to write a script he just saying me there's an example of script: and then nothing
@justagirlwholikescoffee
@justagirlwholikescoffee Год назад
Why am I getting Invalid Token messages?
@hmo9434
@hmo9434 Год назад
I keep getting "Uncaught Error Error: Request failed with status code 429"
@KingstenHD
@KingstenHD Год назад
Great tutorial! Before I get started in this I was wondering if the chat continues the same conversation with other as well as yourself? or is each chat questions and responses linked to the account? I'm trying to create a word game with chat gpt integrated into my discord and I want each account to be a player basically. as of right now I have one installed and I can't add anyone else to the game.
@Niconiconii
@Niconiconii Год назад
the convo only tracks as much as the total messages look back variable
@greyifer
@greyifer Год назад
We have a few problems with the bot getting too many tokens even tho it's just a small message like "How are you?"
@vircazi
@vircazi Год назад
how do you open up a file folder from the start? 1:06
@horrid13
@horrid13 Год назад
hey thank you for this but what if i dont want it to only respond in one channel?
@FG_Yue_II
@FG_Yue_II Год назад
nice tutorial, thanks
@JaoO-
@JaoO- Год назад
How do I make it respond only with command?
@lime3550
@lime3550 Год назад
how can i host the bot for 24/7 ??
@vircazi
@vircazi Год назад
HOW DO YOU OPEN UP A FILE FOLDER?
@raph-youtube
@raph-youtube Год назад
you make it so simple 🤩
@scotthill8217
@scotthill8217 Год назад
this is the second video i watched, where he says type npn init -y, and that doesnt seem to be working for me, all i notice is that both these people use imac, is that maybe my issue? that i use a real pc?
@Niconiconii
@Niconiconii Год назад
what's the error you run into? I'm guessing likely you don't have npm/node installed. Do a quick google search and you'll find instructions on how to install it.
@scotthill8217
@scotthill8217 Год назад
@@Niconiconii thank you, that was exactly the problem
@vircazi
@vircazi Год назад
how do you open up a file folder from the start? 1:06
@chrsss_1
@chrsss_1 Год назад
how do i add multiple channel?
@heitortremor
@heitortremor Год назад
Very nice tutorial. My first time using JS in this way (particularly node) and it's another tool in my arsenal
@DergPH
@DergPH Год назад
Sorry for asking but how do you do it with windows
@Niconiconii
@Niconiconii Год назад
no difference
@kungfustation
@kungfustation 3 месяца назад
API is not free not right?
@stupideinstein2506
@stupideinstein2506 Год назад
Is it possible to set up custom replies of some specific questions like age or gender...if it is..I would like to learn about it in ur next video
@stupideinstein2506
@stupideinstein2506 Год назад
well I found how to do it..thanks but you can still create a video on it
@vircazi
@vircazi Год назад
@@stupideinstein2506 how do you open up a file folder?
@2000iou
@2000iou Год назад
did the bot open ?
@eugene9340
@eugene9340 Год назад
thank you for this amazing tutorial!! by the way, how can you make it up and running 24/7?
@Niconiconii
@Niconiconii Год назад
you’d need a host computer, usually a vps that’s running ur code 24/7
@eugene9340
@eugene9340 Год назад
@@Niconiconii thanks man! :)
@ex_xlusive
@ex_xlusive Год назад
do u think u could do a tutorial on how to host it 24/7? I want to have my chatgpt bot in multiple servers running 24/7
@ex_xlusive
@ex_xlusive Год назад
Nico
@kzgameplayz
@kzgameplayz Год назад
It work very well thank you very much brother from another mother 😀 Do you have a discord that i can join to know more about those code and command
@vircazi
@vircazi Год назад
how do you open up a file folder from the start? 1:06
@kzgameplayz
@kzgameplayz Год назад
@@vircazi i use REPLIT way more easy to work with
@GamingWithMitOfficial
@GamingWithMitOfficial Год назад
showing error is : Node.js v18.12.1 repl process died unexpectedly: exit status 1 run all code but bot not replay user
@meetchops
@meetchops Год назад
Doesn't work for me! That's all I get! "Incorrect API key provided: undefined."
@mmm_clash
@mmm_clash Год назад
happened with me, too. maybe trying "apiKey" with a capital K in your config could help if your checking his github code
@divinex6518
@divinex6518 Год назад
const config = new Configuration({ apiKey: your api key }) instead of getting it from env this worked for me also setup billing if needed
@JaoO-
@JaoO- Год назад
very good bro the best video
@ayametenchu791
@ayametenchu791 Год назад
OMG !! TY BRO ♥
@MrMinXuniverse
@MrMinXuniverse Год назад
make a discord bot image generator by using open ai
@crackedtvgaming
@crackedtvgaming Год назад
Awesome 😮
@VuNguyen-ni4ex
@VuNguyen-ni4ex Год назад
Great video ;)
@محمدبنمحمد-ث3ر
@محمدبنمحمد-ث3ر Год назад
idk why when i write any thing I get this message and the bot stops working Node.js v18.12.1 repl process died unexpectedly: exit status 1
@swat4751
@swat4751 Год назад
@Niconiconii pls help
@GreenWolf14
@GreenWolf14 Год назад
Bruh the bot is not responding what the heck should i do
@GreenWolf14
@GreenWolf14 Год назад
@@deathspainvincentblood6745 tf?
@StarPikicito
@StarPikicito Год назад
ahí alguna forma de cambiar el idioma al español?
@Niconiconii
@Niconiconii Год назад
use spanish in the prompt
@TRDuneTune1938
@TRDuneTune1938 Год назад
i cant open it pls help
@mavafristy
@mavafristy Год назад
You're back uwu
@MIKO2007
@MIKO2007 Год назад
nice
@bycirkingameplay
@bycirkingameplay 6 месяцев назад
not working
@aniverzstudio
@aniverzstudio Год назад
Please make updatee version
@IDcLuc
@IDcLuc Год назад
WELCME BACK NCIO
@RandomGuy-hv7tb
@RandomGuy-hv7tb Год назад
♥️♥️♥️🗿
@sanitymindz9250
@sanitymindz9250 Год назад
Your voice is so cute.
@NeoGeo2006
@NeoGeo2006 Год назад
To think that I would find your RU-vid
@AllwinTamilGamer
@AllwinTamilGamer Год назад
1:04
@markjerseydeep
@markjerseydeep Год назад
Lego
@fragz2579
@fragz2579 Год назад
FIRTS!
@supsupchickenbutt
@supsupchickenbutt Год назад
Can we create Images with AI through this API?
@TheoSur
@TheoSur Год назад
no, this is a language ai. what you're looking for is DALL-E
@nektoshkaoff
@nektoshkaoff Год назад
client.once ^ help me
Далее
Слушали бы такое на повторе?
01:00
I Used AI to Make a ROBLOX Game…
8:13
Просмотров 1,2 млн
Don't Use ChatGPT Until You Watch This Video
13:40
Просмотров 1,7 млн
How to Build a Discord Bot
4:41
Просмотров 240 тыс.
How To Make ChatGPT NPC In Unity - Tutorial
11:06
Просмотров 50 тыс.
How To Build Your Own AI With ChatGPT API
9:51
Просмотров 406 тыс.