Giter Club home page Giter Club logo

py-chatgpt-discord-bot's Introduction

ChatGPT Discord Bot: Fast. No daily limits. Special chat modes

+ I am very interested in this repository, so you don't need to worry if there
+ hasn't been an update for a while. Simply put, it is still functioning stably
+ without the need for updates.

If you need an additional bot on Telegram, you may like this repository: https://github.com/karfly/chatgpt_telegram_bot

Discord BOT: NullGPT#0657 https://discord.gg/kCwPAGj9Rc

Features

  • Low latency replies
  • No request limits
  • Message streaming
  • Code highlighting
  • Special chat modes. You can easily create your own chat modes by editing config.py
  • The program is lightweight and compact, simply a Python script without any accompanying database or other components.
  • The software has a high level of customization, allowing you to adjust the "temperature" or use a quick selection button for "temperature" if you are not satisfied with the result.
  • Use the "history: number_of_last_messages" option to utilize chat history only when necessary.

Setup

  • To run a local test, simply create a .env file and copy the content of the .env.example file over. Please note that you need to fill in the API KEY completely. python main.py
  • To run on Docker, you need to modify the environment variables in the docker-compose.yml file and then run docker-compose up --build -d.

Roadmap

Bot commands:

  • /code
  • /assistant
  • /english_translator
  • /english_translator_technical
  • /english_teacher
  • /text_improver
  • /show_history <number_of_last_messages>
  • /regenerate: Regenerate the answer with customizable options that can be modified
  • /estimate: Task estimate assistant
  • /midjourney: Expand your midjourney ideas

You can easily add or delete as desired in config.py

Options:

  • continue_conv <True/False>: Whether to continue the previous conversation
  • prompt: required
  • temperature: The temperature to use for message generation. Default in config.py
  • history: default 0. If this option is used, it will disable the 'continue_conv' option.
  • max_tokens: default 1000

Youtube video

IMAGE ALT TEXT HERE

py-chatgpt-discord-bot's People

Contributors

nullmastermind avatar

Stargazers

chefai avatar afhlidh avatar Delirious avatar Javis avatar Adam Shaw avatar ʌskvrʌ avatar  avatar Lưu Công avatar Le Van avatar Hien Phan avatar  avatar Peter Nguyen avatar Huy Phúc avatar Ngọc Hưng avatar Minh Le Hong avatar Hide on Rosé avatar Xuân Vinh Hồ avatar  avatar Lam Ngo avatar  avatar Thần Thoại avatar  avatar Kim Đình Học avatar HaryTien avatar Kevin Nitro avatar  avatar Nguyen Quoc Khanh avatar Cừu Đen avatar Đoàn Trường Long avatar Kourain avatar Tan Thinh-Thi avatar Shundo Kishi avatar Emanuele Sabetta avatar  avatar  avatar  avatar Trần Văn Cường avatar

Watchers

Kostas Georgiou avatar  avatar  avatar

py-chatgpt-discord-bot's Issues

cứu với bác ơi

Traceback (most recent call last):
File "C:\Users\Yoshino\Desktop\Bot\bot gpt\py-chatgpt-discord-bot-master\main.py", line 5, in
from discord import SlashCommand, Option
ImportError: cannot import name 'SlashCommand' from 'discord' (C:\Users\Yoshino\AppData\Local\Programs\Python\Python311\Lib\site-packages\discord_init_.py)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.