m1guelpf/chatgpt-discord

Support message editing / retries by replying to self

オープン

#1 opened on 2022/12/10

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)Go (57 件のフォーク)user submission
help wanted

Repository metrics

Stars
 (284 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

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

コントリビューターガイド