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

feat: 支持通过设置 adapters 属性来指定支持的适配器 #22

Merged
merged 5 commits into from
Feb 5, 2023

Conversation

he0119
Copy link
Owner

@he0119 he0119 commented Feb 5, 2023

通过设置 adapters 属性来指定支持的适配器。如果不设置或留空则默认支持全部适配器。

__plugin_meta__ = PluginMetadata(
    name="OneBot",
    description="测试 OneBot 适配器",
    usage="/onebot",
    extra={
        "adapters": ["OneBot V11"],
    },
)

@codecov
Copy link

codecov bot commented Feb 5, 2023

Codecov Report

Merging #22 (8d052a6) into main (e898540) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main       #22   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            2         2           
  Lines           59        66    +7     
=========================================
+ Hits            59        66    +7     
Impacted Files Coverage Δ
nonebot_plugin_treehelp/__init__.py 100.00% <100.00%> (ø)
nonebot_plugin_treehelp/data_source.py 100.00% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@he0119 he0119 enabled auto-merge (squash) February 5, 2023 15:14
@he0119 he0119 merged commit 5e28a16 into main Feb 5, 2023
@he0119 he0119 deleted the feat/platform-specific branch February 5, 2023 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant