🚀 Create a Chat GPT Bot in Discord (with GPT-4)

preview_player
Показать описание
🚀 Create a Chat GPT Bot in Discord (with GPT-4)

Here’s how you can make a Chat GPT like Discord bot (with support for GPT-4) that works in multiple channels!

🧠 Resources

🌐 Important links

Thanks for watching! 💜
Рекомендации по теме
Комментарии
Автор

You are a legend, quite strange to be the best to explain discordJS v14 on YouTube but just having 4k subs. I guess you need to make YouTube a new algorithm for that.

omarezeldin
Автор

Thanks so much for this video! I ignored your caution about not knowing the basics of JS and I was still able to figure it out (after quite a time, mind you, but I did it.) I think that goes to show how excellent your descriptions are. I am so excited to keep learning! Thank you!

angelinespacequeen
Автор

Holy this tutorial is awesome. It's crazy how well you explain everything, and it all just works.

itsYovez
Автор

one thing you missed, add a name to your bot sa every user call that name and the bot will response directly to that user

jesuscries
Автор

Man, you did a great job in this tutorial. Now I just need to dive a little deeper to make the experience more personalized. Thank you.

sleyerpato
Автор

dude this is the first one that worked and ive been looking for months! THANK YOU

galaxyexe_
Автор

That's the only tutorial that worked for me so well, Thank u so much U ARE A LEGEND !!! <333

kripo_se
Автор

for those who got an error with "error is not defined" => we just deleted that line in the script and it works. Hopefully it works for you as well!

vyvy
Автор

Under Ctrl you're such a great dev!

dndieihrjeirnevtctcjwic
Автор

Just done this 🔥🔥🔥
I’m new to coding a few months deep it’s becoming my life 🤣
Thanks awesome tutorial easy would like to add features I’ll use the bot to help 🎉🎉

JJDAYZSERVERS-MODS
Автор

Love your vids bro you make the bot from the start showing everything

RansomRoleplay
Автор

I know this is an old video but it all still works. great job I am going to try and create a more persistent memory for it using some sort of vector database.

opstudio
Автор

thumbs up for the video! It helped me accomplish the integration. Thank you!

dr
Автор

It's important to be aware that gpt4 charges more for each token than gpt3.5 turbo does. A lot more in fact. So if you want your bot to be used for simple communication purposes there is no reason to use gpt4.

alex_turing
Автор

i got everytime an error when i try to type something and the bot dont respond after 12:14

hxndrikk_
Автор

Got to 12:19, where I send a "hello" message in the channel and get no response from the bot, and the error message is not displayed. I can't understand what the reason is!

ShocoShow
Автор

Very cool! thank you for the solid tutorial!

silentbob
Автор

Thank you for making this tutorial. You explain the code excellently well. If anyone is trying to get the bot to limit messages to only 2, 000 characters, the following works:

message.reply(response.choices[0].message.content.substring(0, 2000));

PRO: node.js doesn't crash
CON: The message is cut off.

I'd like to figure out a way to return a text file if the message is longer than 2000 characters.

StatatUTK
Автор

I think this video needs an update as since a few days I always get the message that there are Api issues, I generated a new API and it still doesn't work, OpenAI must have changed something

RainDropBlopper
Автор

@UnderCtrl Got to 12:19 where I message "hello" in the channel and get no response from the bot, and no error message displayed. Any idea what I might be missing? have been troubleshooting for hours, bot it online and code updated

scamerica