Giter Site home page Giter Site logo

jasonind / chatgpt-discordbot Goto Github PK

View Code? Open in Web Editor NEW
19.0 19.0 1.0 85 KB

An up to date Discord Bot that generates replies using chatGPT

License: GNU General Public License v3.0

Python 95.61% Dockerfile 4.39%
bot chatgpt discord discord-bot edgegpt openai python

chatgpt-discordbot's Issues

Error

The thing worked the first time, but now I'm getting this:
Traceback (most recent call last): File "/Users/mashooraiyaan/ChatGPT-DiscordBot/bot.py", line 3, in <module> from discord import app_commands File "/opt/homebrew/lib/python3.10/site-packages/discord/app_commands/__init__.py", line 12, in <module> from .commands import * File "/opt/homebrew/lib/python3.10/site-packages/discord/app_commands/commands.py", line 51, in <module> from ..enums import AppCommandOptionType, AppCommandType, ChannelType, Locale ImportError: cannot import name 'AppCommandOptionType' from 'discord.enums' (/opt/homebrew/lib/python3.10/site-packages/discord/enums.py)

Can't find parentid for older chats

How do I extract the parentid if I wanted to resume a previous conversation that is originally created on the website? I'm trying to return to an old chat I had on the site. I can see the conversation id on the link, but I can't seem to find the parentid one.

That model does not exist

At first it worked, then it stopped, I did not change anything in the code, with others everything works

revChatGPT update

Hello, I just wanted to let you know that a new revChatGPT update has been released and it now utilizes the official ChatGPT API. It now also supports Async and has no ratelimits and it's completely free. It would be cool if you update the bot to that version. Thanks!

Error

I get this error when I try to ask the bot:

That model does not exist

Bot Typing Effect i.e Stream ChatGPT response in real-time

Awesome work! Thank you for creating this. Is there a way to add the Bot Typing Effect i.e Stream ChatGPT response in real-time? I seem to recall revChatGPT had this.

[EDIT]

I guess the bot could send a message each time it detects an end of sentence. Something like:

prompt = "What is the most difficult Jimi Hendrix song to play on guitar?"
prev_text = ""
for data in chatbot.ask(
    prompt,
):
    message = data["message"][len(prev_text) :]
    if message and message.endswith(('.','?','!', '."',':')):
	    print(message.strip())
	    prev_text = data["message"]

V1 support

Hello, I'm just wondering if you can also add revChatGPT V1 support for the bot since V2 is down right now. TYSM!

Online host

Is there a way to somehow integrate this into an independent host like Replit or Docker? Or is the manual verify of the captcha preventing this from doing so?

New Conversation

Is there a way to create a new conversation thread? It doesn't seem to create a new one unless if I restart the whole bot.

New Conversation Feature

Why was new conversation feature got removed? I loved that feature and use it a lot. Would be cool if you could add it again.

Question

Any way to save conversation history right now? i dont see it remembers what i said earlier

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.