diff options
author | Ruoqi Yang <[email protected]> | 2022-11-12 19:23:36 +0800 |
---|---|---|
committer | Ruoqi Yang <[email protected]> | 2022-11-12 19:23:36 +0800 |
commit | 751980112e14f0c86e3760c2595c46bf96fe5cfd (patch) | |
tree | 3a6c258ecbb88566e8751cd81b3ce19fdeaaa1b6 /ATRI/plugins | |
parent | b251cd28e24c08e9170a11535fc121441b324d4f (diff) | |
download | ATRI-751980112e14f0c86e3760c2595c46bf96fe5cfd.tar.gz ATRI-751980112e14f0c86e3760c2595c46bf96fe5cfd.tar.bz2 ATRI-751980112e14f0c86e3760c2595c46bf96fe5cfd.zip |
remove unused parameter
Diffstat (limited to 'ATRI/plugins')
-rw-r--r-- | ATRI/plugins/essential/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ATRI/plugins/essential/__init__.py b/ATRI/plugins/essential/__init__.py index 020653e..f8e3cb1 100644 --- a/ATRI/plugins/essential/__init__.py +++ b/ATRI/plugins/essential/__init__.py @@ -45,7 +45,7 @@ friend_add_event = plugin.on_request("好友申请", "好友申请检测") @friend_add_event.handle() -async def _(bot: Bot, event: FriendRequestEvent): +async def _(event: FriendRequestEvent): path = __ESSENTIAL_DIR / "friend_add.json" file = FileDealer(path) if not path.is_file(): |