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

给论坛内帖子自动加上开源标签,根据身份组添加,记录开源标签变动 #13

Open
retr0-init opened this issue Jul 5, 2024 · 1 comment

Comments

@retr0-init
Copy link
Owner

自动添加帖子开源标签

  1. 对于没有开源声明的身份组,默认不开源。
  2. 没有特地设定开源许可标签的,按照身份组默认。如果没有身份组,依照1。

记录帖子开源信息

一旦有帖子添加或改变了开源标签,记录在特定频道中作为证据。

@retr0-init retr0-init converted this from a draft issue Jul 5, 2024
@retr0-init retr0-init moved this from 预备 to 进行中 in Discord机器人开发Kanban Jul 5, 2024
@retr0-init
Copy link
Owner Author

retr0-init commented Jul 6, 2024

Action on tags according to the set of rules:

classDiagram
    tag_name-->rules
    rules-->action
    note for tag_name "create if does not exist"
    settings : log_channel
    class tag_name {
        +name [Required] [Primary]
        +emoji_name [Nullable]
    }
    class rules {
        +forumChannel [Required]
        +applied_tags
        +not_applied_tags
        +applied_roles
        +not_applied_roles
    }
    class action {
        +add_tag
        +del_tag
        +log
    }
Loading

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 储备工作
Development

No branches or pull requests

1 participant