mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2025-07-16 13:22:59 +08:00
fix bug
This commit is contained in:
parent
21e5988084
commit
d8bbe19936
@ -174,7 +174,7 @@ class PlatformNoTarget(PlatformProto):
|
||||
self.reverse_category[val] = key
|
||||
|
||||
@staticmethod
|
||||
async def get_account_name() -> Optional[str]:
|
||||
async def get_account_name(target: Target) -> Optional[str]:
|
||||
"return the username(name) of the target"
|
||||
raise NotImplementedError()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user