Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
ionic-bond committed Apr 24, 2024
1 parent 4fab461 commit 9c0abdb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ flowchart LR
ea("`**Print to stdout**`")
eb("`**Cqhttp**`")
ec("`**Discord**`")
ed("`**Save to file**`")
ed("`**Telegram**`")
ee("`**Save to file**`")
end
aa --> gb
ab --> gb
Expand Down Expand Up @@ -181,6 +182,8 @@ python3 ./stream-translator-gpt/translator.py
| `--cqhttp_url` | | If set, will send the result text to the cqhttp server. |
| `--cqhttp_token` | | Token of cqhttp, if it is not set on the server side, it does not need to fill in. |
| `--discord_webhook_url` | | If set, will send the result text to the discord channel. |
| `--telegram_token` | | Token of Telegram bot. |
| `--telegram_chat_id` | | If set, will send the result text to this Telegram chat. Needs to be used with \"--telegram_token\". |

## Contact me

Expand Down
5 changes: 4 additions & 1 deletion README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ flowchart LR
ea("`**打印到屏幕**`")
eb("`**Cqhttp**`")
ec("`**Discord**`")
ed("`**保存到文件**`")
ed("`**Telegram**`")
ee("`**保存到文件**`")
end
aa --> gb
ab --> gb
Expand Down Expand Up @@ -179,6 +180,8 @@ python3 ./stream-translator-gpt/translator.py
| `--cqhttp_url` | | 如果设置,将会把结果文本发送到cqhttp服务器。 |
| `--cqhttp_token` | | cqhttp的令牌,如果在服务器端没有设置,不需要填写。 |
| `--discord_webhook_url` | | 如果设置,则会将结果文本发送到 discord 频道。 |
| `--telegram_token` | | Telegram的令牌bot. |
| `--telegram_chat_id` | | 如果设置,将把结果文本发送到此 Telegram Chat ID。需要与“--telegram_token”一起使用。 |

## 联系我

Expand Down

0 comments on commit 9c0abdb

Please sign in to comment.