ChatGPT Tutorial - Create a Chatbot for Discord with Python
HTML-код
- Опубликовано: 30 янв 2023
- Discover the power of AI technology with OpenAI's ChatGPT! In this tutorial, learn how to create a chatbot for Discord using Python using the ChatGPT model. Enhance your Discord interactions and join the trend of using the cutting-edge technology of ChatGPT
Subscribe and follow *Abz*:
LinkedIn - / a-abukar
YT - / @coderco
Links for this video
► discord.com
► / discord
Don't Forget to
===========================================
💯 Subscribe to Amigoscode - bit.ly/2HpF5V8
💯 Courses Available for free here - amigoscode.com/courses
💯 Join Private Facebook Group and Discord - amigoscode.com/p/join-community
🙊 Here are the goods for all my videos video 🙊
► Recommended Books
===========================================
- Clean Code - amzn.to/2UGDPlX
- HTTP: The Definitive Guide - amzn.to/2JDVi8s
- Clean Architecture - amzn.to/2xOBNXW
► Computer and Monitor
===========================================
- New Apple MacBook Pro - amzn.to/3464Mmn
- Dell 27 INCH Ultrasharp U2719D Monitor - amzn.to/2xM3nW1
- Double Arm Stand Desk Mount - amzn.to/3aYKKfs
- USB C Hub Multiport Adapter - amzn.to/2Jz7NlL
► Camera Gear
=============================================
- Sony ILCE7M3B Full Frame Mirrorless Camera - amzn.to/346QIJn
- Sigma 16 mm F1.4 DC DN - amzn.to/2wbic3Q
- Sigma 33B965 30 mm F1.4 DC DC - amzn.to/39G37Fd
► IDE & Tools I use for coding 💻 🎒
===========================================
- ITerm
- VsCode
- GoLand
- IntelliJ Ultimate
- Sublime
P.S
===========================================
💯 Don't forget to subscribe | bit.ly/2HpF5V8
💯 Join Private Facebook Group and Discord - amigoscode.com/p/join-community
💯 Follow me on Instagram | bit.ly/2TSkA9w
❤️ Thanks for watching Наука
Hope you enjoyed this video folks.
Dont forget to follow Abz folks
► RUclips 🎥: ruclips.net/channel/UC6l2tCrPsV1AwHJCHex_fZQ
► InstaGram 📷: instagram.com/coderco_/
► Twitter🐦: twitter.com/CoderCo_
► LinkedIn 💻: www.linkedin.com/in/a-abukar/ X www.linkedin.com/in/moabukar/
Hi Amigoscode, can you make videos on Spring WebFlux ??
Don't use music, because it's haram.
this video is so underrated. i literally have AI following these exact steps. it comes smart as is, but there is still so much you can add to this code to make it that much smarter
this is saving my life for real.. THANK YOU for all the details!!!!!!!!!!
Refreshing to see clear guide on this. Subbed
when that ping sound effect played i literally though that someone mentioned me lmao, nice vid
Wow, I really enjoyed this. Abs is awesome!!!
Great video! Thanks!
This is really nice
Awesome video. Great intro to building a bot on discord and to the use of the OpenAi API 👍🏼
question: How do I change the model text-davinci-003” to “gpt-3.5-turbo” , I tried to change the model but it doesn't work.
me too
followed along 😇awesome project
Nice!!!!
Can you please create a Twitter bot for uploading pictures next?
Salam Bro, this video was super awsor, thanks. 👍💟
hello, I have a question on the terminal part. when I try to do code ., It gives me a zsh error saying that the command code is not found. Can I fix this?
i did it just like you but there is no file once i open the terminal?
What is the terminal you using?
Can't get this to work sadly :( having issues with the discord pip not handling python correctly or something. Been trying to fix it for 30min so far, and sadly no luck.
be sweet if you posted that this was for Mac in the title description...
I have an error openai in not defined pylance what can I do to correct this. Thanks in advance.
thanks, following the video, success
Hi Amigoscode, can you make videos on Spring WebFlux ??
I don't know how to fix it ModuleNotFoundError: No module named 'dotenv'
Salamualaikum warahmatuAllahi wabarakatuh Akhi, I need that new java course asap 😂🙏🏾
Can you make video for spring security Oauth2
This is awesome but when the bot responds on mine, I'm getting "Answer: None"... any ideas?
nice
this was posted in morioh without credit to you?
Wa alaykumu s-salam, brother ❤
You could just give us the whole code link, that would be kind from you.
hmm... It works but it's not very good compared to the web model of the bot
I'd have to toy with this a good bit to get it up to par for me to want to include it on any discord server and it be of actual use
I have a problem it says "openai" is not definedPylance what should I do?
Yeah me too
How can I fix syntaxerror: 'await' outside function??? Plsss help
It's a problem with indentation (I think, also a noob here). Make sure your indentation looks exactly like his in the video
Great video! Thanks!
I'm getting this error though:
AttributeError: 'Intents' object has no attribute 'messsage_content'
I checked and re-checked all the steps but cannot figure out why. Any ideas?
The code doesnt work in 2024 something about the openai module doesnt support older commands. So dont forget to install exact versions
anyone get the "module not found error" , if so how did you fix it
yes I removed the app directory
instead i used
from discord_bot.discord_api import client, discord_token
I got this error "atgpt_ai/openai.py
Traceback (most recent call last):
File "c:\Users\alanb\my_ai_bot\app\chatgpt_ai\openai.py", line 1, in
from dotenv import load_dotenv
ModuleNotFoundError: No module named 'dotenv'
PS C:\Users\alanb\my_ai_bot>" can you help me fix it?🙏
install doenv lol
How do you get all the stuff in requirements.txt as it doesn't come up on mine and when I type it in after creating folder it acts as if nothing is there
Same here
same
try saving it
when I write a long question and I need a long answer, the bot only responds with a short answer that doesn't have enough meaning. How can I fix this?
cambia la cantidad de tokens a mas lo recomendable es 300
I’ve recently created discord bot with GPT ;) with nodejs
Can you make tutorial of how to make fb page chatbot with chatgpt api
how come you never publish the code in the youtube videos?
also spring batch would be awesome
anyone knows how to fix "ModuleNotFoundError: No module named 'app'"? thx
I got the same issue. You know how to fix ?
I got the same issue, anybody knows how to fix it?
Sorry, have to down vote. Author isn't responding to questions.
And I've double checked all my code, it won't run for me as well.
AttributeError: 'builtin_function_or_method' object has no attribute 'api_key'
Anyone have suggestions to fix this?
worked fine for me
mine keeps giving answer as none. how to fix?
never mind. i fixed it
@@ihavenomercy357 how you fix it bru ??
Me too
Brother pls remove the music from the background
very nice, but I have the one error: "AttributeError: 'Message' object has no attribute 'auther'". I cound find a way to fix this. Suspicious is that when I hover over "import discord" in "discord_api.py" it says "Package containing module 'discord" is not listed in the project requirements" eventhough it is there just with a ".py" at the end.
I tried to leave out ".py" or add just "discord==" but error still remains. Any ideas?
you spelled wrong, change "auther" to "author", hopefully it fixes it
In this 25min video, I have a discord bot that works with gpt, and I finnaly understand the system of "git" (why folder in folder, many files, etc...).
Thanks for this video.
But, is there a way to have our "own" gpt bdd ? (to avoid paid openAI, and with poor quality answer of course)
Alaikum salam. :)
السلام عليكم
Can you please teache me 🥹
guys, dont try to hack into his bot lol he reset it
Java😢