Skip to content

A discord bot with 10+ customisable chatting modes made with OpenAI's ChatGPT

Notifications You must be signed in to change notification settings

ayushgml/gptalk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Logo

GPTalk

A discord bot that uses GPT-3.5-Turbo to generate text
Explore the docs »

View Demo · Report Bug · Request Feature

About The Project

Banner
This is a discord bot made using OpenAi's GPT-3.5-Turbo. It can generate text based on a prompt. Currently, it has 10 modes of operation. It can generate text in the following modes:
  1. codeCraft - a code helper and bug solution advisor
  2. counselor - Offers advice and guidance on a range of topics, such as relationships, career, and personal growth.
  3. muse - Helps users with creative writing by providing prompts and inspiration for their writing projects.
  4. fitnessPal - Offers personalized fitness and nutrition advice based on the user's goals and preferences.
  5. moneyWise - Offers financial advice and guidance on managing money and investments.
  6. healthMate - Provides users with personalized health and wellness advice based on their goals and health data.
  7. lifeCoach - Offers support and guidance to help users achieve their personal and professional goals.
  8. studyBuddy - Helps users with their academic studies by providing study tips and resources.
  9. quizBot - Offers help in quizzes and trivia games
  10. gameMaster - Provides users with personalized recommendations and tips for their favorite video games.

Read below to get started with the bot.

(back to top)

How to run the bot

To get a local copy up and running follow these simple steps.

Using Docker Image

Make sure you have docker installed and running on your system. Then run the following command to pull the image from docker hub.

docker pull ayushgml/gptalk:latest
docker run -d --name gptalk ayushgml/gptalk:latest

Using Source Code

Make sure python is installed on your system. Clone the repo:

git clone https://github.com/ayushgml/gptalk.git

After cloning, create discord_token.env and openai_token.env files respectively in tokens folder. Then add your discord bot token and openai api key in the respective files.

pip install -r requirements.txt
python3 main.py

Usage

Once you have the bot running and you've added the bot to your discord server, you can use the following commands to generate text:

!codeCraft <prompt>
!counselor <prompt>
!muse <prompt>
!fitnessPal <prompt>
!moneyWise <prompt>
!healthMate <prompt>
!lifeCoach <prompt>
!studyBuddy <prompt>
!quizBot <prompt>
!gameMaster <prompt>

For example: Usage Example

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

Bonus

Now you've reached till here, so here's a bonus for you. You can directly add my bot to your own server using the following link:

Discord bot link

Happy Talking!

Contact

Ayush Gupta - @itsayush__ - ayushgml@gmail.com

Project Link: https://github.com/ayushgml/gptalk

(back to top)

About

A discord bot with 10+ customisable chatting modes made with OpenAI's ChatGPT

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published