Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: @koishijs/plugin-forward 支持通过指令添加 #473

Closed
Tracked by #482
ConstasJ opened this issue Jan 18, 2022 · 3 comments
Closed
Tracked by #482

Feature Request: @koishijs/plugin-forward 支持通过指令添加 #473

ConstasJ opened this issue Jan 18, 2022 · 3 comments
Labels
feature 新特性

Comments

@ConstasJ
Copy link
Contributor

Describe the problem related to the feature request

现有的@koishijs/plugin-forward只能通过配置文件进行转发配置
然而,为了能够让群里的非技术人员也能够配置转发,我希望能够通过命令进行转发配置

Describe the solution you'd like

  1. 在数据库的Channel表中记录转发配置(拓展一个forward字段,记录对应source频道的所有转发target)
  2. 通过命令进行配置(命令可参考koishi-plugin-forward

Describe alternatives you've considered

Additional context

No response

@ConstasJ ConstasJ added the feature 新特性 label Jan 18, 2022
@shigma
Copy link
Member

shigma commented Jan 18, 2022

草,原来你理解的 CLI 是这个意思!

那样的话我觉得这个提议不错。

This was referenced Jan 19, 2022
@Anillc
Copy link
Member

Anillc commented Jan 23, 2022

要不要将官仓中的 forward 和 koishi-plugin-forward 合并一下

@shigma shigma changed the title Feature request: 为现有的@koishijs/plugin-forward添加CLI Feature Request: @koishijs/plugin-forward 支持通过指令添加 Jan 24, 2022
@shigma
Copy link
Member

shigma commented Jan 28, 2022

supported in @koishijs/plugin-forward@2.0.0

@shigma shigma closed this as completed Jan 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature 新特性
Projects
None yet
Development

No branches or pull requests

3 participants