Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Agnes4m committed Jan 26, 2024
1 parent 9c690e2 commit 853782b
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions nonebot_plugin_bilifan/src/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -505,10 +505,12 @@ async def getGroups(self):
params=SingableDict(params).signed,
headers=self.headers,
)
print(list_msg)
list_m = list_msg["list"]
for group in list_m:
yield group
if list_msg:
list_m = list_msg["list"]
for group in list_m:
yield group
else:
...

async def signInGroups(self, group_id: int, owner_id: int):
url = "https://api.vc.bilibili.com/link_setting/v1/link_setting/sign_in"
Expand Down

0 comments on commit 853782b

Please sign in to comment.