m1guelpf/chatgpt-discord

Support message editing / retries by replying to self

Open

#1 opened on Dec 10, 2022

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Go (58 forks)user submission
help wanted

Repository metrics

Stars
 (285 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

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 :)

Contributor guide