Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hghyhghy/discord-bot_subhamgpt-by-using-_python

By using Discord , OpenAi
https://github.com/hghyhghy/discord-bot_subhamgpt-by-using-_python

bot discord intelligent openai python

Last synced: 3 days ago
JSON representation

By using Discord , OpenAi

Awesome Lists containing this project

README

        

![Screenshot (35)](https://github.com/hghyhghy/Discord-BOT_subhamGPT-by-using-_Python/assets/140393712/bbfd515e-0788-43fb-97a0-4064c61e8939)

✌️ THE BOT CREATED BY ME ✌️

# CREATE _BOT _WITH _DISCORD_APP

WHAT IS A BOT? ✌️✌️
A bot is a software application that is programmed to do certain tasks. Bots are automated, which means they run according to their instructions without a human user needing to manually start them up every time. Bots often imitate or replace a human user's behavior. Typically they do repetitive tasks, and they can do them much faster than human users could.⏺️

⏺️WHAT IS DISCORD ? ✌️✌️

Discord is a free app that combines the voice chat aspects of services like Skype and Teamspeak with the text chat aspects of Internet Relay Chat (IRC) and instant messaging services. Here's how to use the Discord app for Windows, macOS, Linux, iOS, Android, and web browsers.⏺️

# It is used for Discord was made for online gamers as a free alternative to voice chat services like TeamSpeak, Mumble, and Ventrilo. These services facilitate Voice over IP (VoIP) communication between members of gaming clans, guilds, and other groups. Instead of using the voice communication tools built into games, which are often of lower quality and lack features, gamers use these services to play together.#

⚛️ Create Yout First Bot By using Discord⚛️ ✌️✌️

>>>>> ✌️✌️ A discord bot is a computer program that uses Discord's public API to automate various actions on a Discord server1234. A discord bot can respond to specific keywords, perform certain functions, and interact with users or other bots234. A discord bot can also help you simulate important tasks such as chatting, monitoring, onboarding, and moderating34. A discord bot is denoted by a "Bot" tag next to its name ✌️✌️
> >>>> ⚛️ There are some steps you need to follow before get started⚛️
> >>>> ⚛️ I created this BOT by using python so you need a python interpreter for vs code and do have some basic knowledge of python ⚛️
> >>>> ⚛️ But for ease the operation i have done it in replit ⚛️

> >>>>
> >>>> ⏭️ DONT KNOW HOW TO USE REPLIT ⏮️

👉👉 JUST SEARCH REPLIT ON YOUR BROWSER AND THEN LOG IN TO YOUR REPLIT BY YOUR MAIL OR GITHUB👈👈

👉👉 I am pesting my replit for this Discord BOT👈👈



♾️♾️https://replit.com/@hghyhghy/DiscordchatGPT#main.py♾️♾️

🟡 Now we need to create a repl with a python template 🟡

🟡 Now you need to visit the Discord website where we are creating our firts BOT🟡

🟡👇THE LINK OF THAT PAGE IS BELOW 👇🟡

🟡 https://discord.com/🟡

🟡STEP1: LAND ON THE PAGE OF THE DISCORD WEBSITE

🟡 STEP2: SELECT THE OPTION OPEN DISCORD ON YOUR BROWSER 🟡

🟡 STEP3: CHANGE THE SETTING AS YOU WANT 🟡

🟡STEP3: VISIT THE DISCORD DEVELOPER PANEL PAGE TO DO THE CHANGES 🟡

🟡## >> https://discord.com/developers/applications 🟡

🟡STEP4: AFTER THAT GO TO THE DOCUMENTATION SECTION 🟡

>> USE CMD AND ENTYER THOSE COMMAND

🟡pip install discord🟡

🟡pip install openai🟡


🟡AND THEN CLICK ON GET STARTED BUTTON TO START CREATING YOUR DISCORD BOT 🟡⏮️⏭️

🖐️ AFTER THAT GO TO ♾️♾️

https://replit.com/@hghyhghy/DiscordchatGPT#main.py

♾️♾️ THIS WEBSITER AND START CODING ON THE FILE WHICH IS CREATED IN PYTHON TEMPLATE 🖐️

⭕⭕ NOTE ON THING BEFORE START CODING YOU HAVE TO DOWNLOAD TWO PACKAGES OF PYTHON OR MODULES FROM CMD⭕⭕

❌ NO1 : 🟡pip install discord🟡

❌ NO2 : 🟡pip install openai🟡

❌ OPEN CMD WRITE THE UPPER LINE AND HIT ENTER .THOSE WILL AUTOMATICALLY INSTALLED IN YOUR COMPUTER

🚫🚫 NOTE THAT IF YOU DO NOT INSTALL THOSE YOU CANT PERFORM ANYTHING AND YOU WILL GET AN ERROR


⏺️⏺️ NOW TO GIVE AN API I USE OPENAI PLATFORM TO ACCESS AN API FOR THIS BOT WHICH MAKES IT INTELLIGENT AND LOOKS LIKE CHATGPT ⏺️⏺️

>>VISIT THE LINK 👉
>>https://openai.com/
>>
>>👈

>> HIT LOG IN

>> GO TO THE API SECTION

>> GO THE PLAYGROUND SECTION IN NAVBAR

>>AND THEN SELECT MODEL AS YOUR WISH

♾️ https://platform.openai.com/playground♾️

>> SLECT VIEW CODE AND PASTE IT ON YOUR REPL FILE

>> HIT RUN AND YOU WILL SEE THOSE MESSAGES 👇👇
>>
>> ⚛️⚛️Logged on as (your given name while creating the bot)⚛️⚛️
>>

⭕ NOTE YOU HAVE TO TAKE THE SECRET KEY AND OPEN API KEY COPIED IN YOUR COMPUTER TO USE IN THIS CASE ⭕

## Now our discord BOT should be ready to deliver any information . remember it is not the best , you can do a lot more things to it

⭕REMEMBER WHEN EVER YOU TRY TO TEST THAT BOT , MAKE SURE THAT YOU DID NOT NOT CLOSE THE REPLIT SERVER TAB , OTHERWISE IT WONT WORK ⭕

♾️♾️✌️✌️ HAPPY CODING 👉👉👈👈