mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2025-09-02 22:12:25 +08:00
dec interval of weibo
This commit is contained in:
parent
129269c193
commit
64be0cc590
@ -25,7 +25,7 @@ class Weibo(NewMessage, TargetMixin):
|
|||||||
enabled = True
|
enabled = True
|
||||||
is_common = True
|
is_common = True
|
||||||
schedule_type = 'interval'
|
schedule_type = 'interval'
|
||||||
schedule_kw = {'seconds': 10}
|
schedule_kw = {'seconds': 3}
|
||||||
|
|
||||||
async def get_target_name(self, target: Target) -> Optional[str]:
|
async def get_target_name(self, target: Target) -> Optional[str]:
|
||||||
async with httpx.AsyncClient() as client:
|
async with httpx.AsyncClient() as client:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user