Giter Club home page Giter Club logo

Comments (6)

darnells68 avatar darnells68 commented on June 11, 2024 1

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.

FuseFairy avatar FuseFairy commented on June 11, 2024

You can select only set instead of the cookie parameter, which will automatically use the default.
image

from discordbot-edgegpt.

darnells68 avatar darnells68 commented on June 11, 2024

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.
Screenshot 2023-12-13 084734
also onto another issue I noticed lets say you type /bing and say hello, bing will give you some option as buttons to select
Screenshot 2023-12-13 085026
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.

FuseFairy avatar FuseFairy commented on June 11, 2024

Please use the latest version
image

from discordbot-edgegpt.

darnells68 avatar darnells68 commented on June 11, 2024

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.

FuseFairy avatar FuseFairy commented on June 11, 2024

user can use default cookies if there don't upload cookies
#111 (comment)

from discordbot-edgegpt.

Related Issues (20)

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.