Comments (6)
okay I now understand what you meant, once the user has set a cookie file. The other user can use that cookie file however instead of uploading the file directly, they just need to go to chatbot setting, then click set and it will use the bot owner cookies. Two key take aways from this was 1) the bot will not be activated for everyone once the user sets the cookies the users must manually use the set option then press enter for the bot to work it does not assume to use the bot owners cookies by default. 2) if a user generates an image or chat and that chat or image has a button with it no other users can click that button other than the creator of the prompt one example I noticed with this is I asked my friend to test the image creator it generated the images and below the images was a regenerate button the button does not work for other users other than the creator of the prompt. If another user were to click the button this message would appear You don't have permission to press this button. Generally the issues I asked for have been solved thanks again for the assistance.
from discordbot-edgegpt.
You can select only set instead of the cookie parameter, which will automatically use the default.
from discordbot-edgegpt.
when I set it, it only works with my cookies not for anyone else they are unable to use it with my cookies, is there specific line of code i have to change.
also onto another issue I noticed lets say you type /bing and say hello, bing will give you some option as buttons to select
if you click these button for example i clicked tell me a joke the bot will literally crash and refuse to work it will have to be restarted the previous version did not have this issue its something new. My console gave this error, this happens with any of the buttons.
Traceback (most recent call last):
File "c:\Users\darne\Desktop\DiscordBot-EdgeGPT-1.0.0\DiscordBot-EdgeGPT-1.0.0\myenv\lib\site-packages\discord\ui\view.py", line 427, in _scheduled_task
await item.callback(interaction)
File "C:\Users\darne\Desktop\DiscordBot-EdgeGPT-1.0.0\DiscordBot-EdgeGPT-1.0.0\src\button_view.py", line 31, in callback
await users_chatbot[user_id].send_message(interaction, usermessage)
File "C:\Users\darne\Desktop\DiscordBot-EdgeGPT-1.0.0\DiscordBot-EdgeGPT-1.0.0\src\user_chatbot.py", line 53, in send_message
await send_message(self.chatbot, interaction, message, self.conversation_style, users_chatbot, self.user_id)
File "C:\Users\darne\Desktop\DiscordBot-EdgeGPT-1.0.0\DiscordBot-EdgeGPT-1.0.0\src\response.py", line 16, in send_message
await interaction.response.defer(ephemeral=False, thinking=True)
File "c:\Users\darne\Desktop\DiscordBot-EdgeGPT-1.0.0\DiscordBot-EdgeGPT-1.0.0\myenv\lib\site-packages\discord\interactions.py", line 616, in defer
raise InteractionResponded(self._parent)
discord.errors.InteractionResponded: This interaction has already been responded to before
from discordbot-edgegpt.
from discordbot-edgegpt.
okay the update fixed the second issue thanks, what I was asking for the first issue is that the current implementation of the bot allows the user to upload the cookie file and it will be allowed to use the bing chat bot. That works fine. However what I would like ideally if possible is to set my cookie as the default, using the set option on /chatbot settings so other users in the server would not have to upload there own unique cookie each time they would simply use mine. Is this possible for me to do if so what exactly could i change.
from discordbot-edgegpt.
user can use default cookies if there don't upload cookies
#111 (comment)
from discordbot-edgegpt.
Related Issues (20)
- Unauthorized Request Error HOT 4
- Error while running: module src.log not found HOT 7
- 'NoneType' object is not iterable HOT 2
- On mobile, when using the image creation, only the first image is displayed. HOT 13
- Error: 0, message='Attempt to decode JSON with unexpected mimetype: text/html', url=URL('https://www.bing.com/images/kblob') HOT 18
- Nothing works HOT 2
- i can't run the code HOT 11
- Timeout HOT 2
- Error, help HOT 15
- Error when try use "/bing hello" HOT 14
- Add .env CHANNEL_ID for response.py or image_create.py HOT 5
- When Bing closes the conversation, unable to start a new one until bot is restarted HOT 2
- Image request timed out HOT 3
- Error: 'NoneType' object is not iterable HOT 11
- More verbose errors HOT 9
- Error:'ascii' codec can't encode character '\xe0' in position 218: ordinal not in range(128) HOT 1
- AttributeError: 'NoneType' object has no attribute 'reset' HOT 3
- Any way to solve "ERROR: 'NoneType' object is not iterable"? HOT 1
- Where does the CAPTCHA pop up when the "ERROR: CaptchaChallenge: User needs to solve CAPTCHA to continue." error is being displayed? HOT 9
- How to solve "ERROR: Throttled: Request is throttled."? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from discordbot-edgegpt.