This commit is contained in:
felinae98
2022-03-24 19:36:54 +08:00
parent c6dfc9818e
commit df23648b0f
3 changed files with 81 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
from nonebug.app import App
async def test_add_subscrib(app: App):
from nonebot_bison.config.db_config import config
from nonebot_bison.types import Target
await config.add_subscribe(
user=123,
user_type="group",
target=Target("weibo_id"),
target_name="weibo_name",
platform_name="weibo",
cats=[],
tags=[],
)