Giter VIP home page Giter VIP logo

chatgpt-discord's Introduction

Hi there πŸ‘‹

I'm a 22-year-old maker, and I love building things.

I work at Worldcoin, building the most scalable & private sybil-resistance solution.

In my free time, I like to build. Here's a few of my favourite open-source projects:

  • cog-rust: Rust containers for machine learning.
  • ensemble: A Laravel-inspired ORM for Rust.
  • commit: A command palette-style Git client for blazing-fast commits.
  • lil-web3: Simple, intentionally-limited versions of web3 protocols & apps.
  • auto-commit: Rust CLI that automatically writes commit messages for you, built in Rust.
  • yt-whisper: Automatically generate subtitles for YouTube videos, using OpenAI's Whisper.
  • plz-cli: Copilot for your terminal
  • armchair: A Next.js starter kit for full-stack web3 apps.
  • php-evm: A PHP implementation of the Ethereum Virtual Machine, because why not.
  • connect4-sol: A hyper-optimised Connect 4 implementation on Solidity.
  • ...

chatgpt-discord's People

Contributors

m1guelpf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

chatgpt-discord's Issues

Couldn't load/find .env file after manual authentication.

I had to do the manual authentication, but now I get an error message when I retry running the exe. After deleting the authentication file, I retry it and starts again with no issues, but of course I get the endless chromium window.

keep getteing this response

Couldn't send message: Couldn't get access token: failed to decode response: invalid character '<' looking for beginning of value

Stuck in a verify loop

After opening the chromuim, gets stuck on cloudflare verify system.
Everytime i try to verify, it just goes back to the same screen

Help

image

I tried all the steps to the letter, but the bot continues to send an error: "Couldn't send message: Couldn't get access token: failed to decode response: invalid character '<' looking for beginning of value". I think it may be a problem with the bot's configuration on Discord or with the bot's permissions to send messages in the channel where I am trying to do it. Is there anything I can do to solve this problem? ooopoison

Support message editing / retries by replying to self

Where ChatGPT really shines is in the context of dialog, and in the web client, the ability to retry and edit messages – going back at any time to an earlier point to reword a prompt.

Appreciate your work and polish so far! Excited to use this over the telegram client as I'm more of a discord native, and organizing conversations across threads and servers is a joy. But without the ability to modify my previous messages, I can't really use this bot over the web version for more complex prompts yet.

Suggestion

Perhaps /retry and /edit commands would be appropriate:

  • If a user uses /edit by itself, the sent message will be used as the input for an edit of the previously sent message
  • Same as above if a user replies to a message with an @bot mention plus the /edit command; with /retry, resends the message from that point in the conversation (same as clicking edit in the web interface and clicking "save & send")

Example case:
image

In this basic example, the message "what time is it?" would be replaced with the text following /edit and sent through with the "save & send" button.

assuming they're from the same ChatGPT thread, messages should be editable at any point in the conversation, as they are in the web version. With this feature, 90%+ of my ChatGPT usage would be via this bot :)

Couldn't send message

I always get this message as an answer in Discord:

Couldn't send message: Couldn't get access token: failed to decode response: invalid character '<' looking for beginning of value

I hope someone can help.

Support new Cloudflare authentication

Hi,

I tried your bot yesterday and it works really well, however after a few hours it started to respond with an error to all requests. The error is not fixed by replacing the discord bot authorization token and replacing the openai authorization token. It is also present when running the bot on home PC and on vps server ubuntu. There must be an error in some golang library, but why it did not appear in this case immediately. I unfortunately can not solve this problem, although apparently it is a problem in the authorization library discord-bot.

The full text of the error looks like this:
Couldn't send message: Couldn't get access token: failed to decode response: invalid character '<' looking for beginning of value

Do you have any idea how to solve this? Thank you )

P.S. Perhaps < is the start of < nil >

How to find the app itself in discord?

I got all the steps. But how can I find the discord bot I did all this for? And where should the Fowl system presented in this section be placed? I got all the steps with the commands.

Help!

Hello. I am having an issue with the .env file located in the base Chatgpt-Discord-Main folder. Every time I attempt to start the program from Terminal, I receive this error.

Screenshot 2022-12-18 163537
Screenshot 2022-12-18 163916

Anyone know what's going on here?

keep getting module error

11|FooBar | requireStack: []
11|FooBar | }
11|FooBar | Error: Cannot find module '/root/discordstuff/chatgpt-discord'
11|FooBar | at Function.Module._resolveFilename (node:internal/modules/cjs/loader:956:15)
11|FooBar | at Function.Module._load (node:internal/modules/cjs/loader:804:27)
11|FooBar | at Object. (/root/.nvm/versions/node/v16.17.1/lib/node_modules/pm2/lib/ProcessContainerFork.js:33:23)
11|FooBar | at Module._compile (node:internal/modules/cjs/loader:1126:14)
11|FooBar | at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10)
11|FooBar | at Module.load (node:internal/modules/cjs/loader:1004:32)
11|FooBar | at Function.Module._load (node:internal/modules/cjs/loader:839:12)
11|FooBar | at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
11|FooBar | at node:internal/main/run_main_module:17:47 {
11|FooBar | code: 'MODULE_NOT_FOUND',
11|FooBar | requireStack: []
11|FooBar | }

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.