jasonind / chatgpt-discordbot Goto Github PK
View Code? Open in Web Editor NEWAn up to date Discord Bot that generates replies using chatGPT
License: GNU General Public License v3.0
An up to date Discord Bot that generates replies using chatGPT
License: GNU General Public License v3.0
Would be cool if you add Async support to the bot. refer to this
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)
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.
At first it worked, then it stopped, I did not change anything in the code, with others everything works
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!
Can you add support for EdgeGPT (Bing's ChatGPT-4)? Thanks!
I get this error when I try to ask the bot:
That model does not exist
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"]
Add support for the official API please! Thanks!
Hello, I'm just wondering if you can also add revChatGPT V1 support for the bot since V2 is down right now. TYSM!
Can you update the bot to use revChatGPT V2 - Browserless. Thanks a lot!
Was this update supposed to be mixed with Zero's latest release (with ChatGPT not working properly due to cloudflare, and now using GPT-3)?
I ask because you're missing requirements.txt
Anyway, thanks for the hard work!
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?
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.
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.
Any way to save conversation history right now? i dont see it remembers what i said earlier
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.