diff options
author | Kyomotoi <[email protected]> | 2023-03-07 16:23:38 +0800 |
---|---|---|
committer | Kyomotoi <[email protected]> | 2023-03-07 16:23:38 +0800 |
commit | 9d772b18d4a9d3ea0a197b23fd0f924b3ad181d9 (patch) | |
tree | 82df87189f3aea994e837a9769386ac3a5fbca33 | |
parent | e26b8d84b320b5bcbb9f9a83149a7725d7763115 (diff) | |
parent | 9ef2d05908e898154ec88334c17f3dd2c5e92bf6 (diff) | |
download | ATRI-9d772b18d4a9d3ea0a197b23fd0f924b3ad181d9.tar.gz ATRI-9d772b18d4a9d3ea0a197b23fd0f924b3ad181d9.tar.bz2 ATRI-9d772b18d4a9d3ea0a197b23fd0f924b3ad181d9.zip |
Merge branch 'main' of https://github.com/Kyomotoi/ATRI
-rw-r--r-- | ATRI/plugins/setu/__init__.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ATRI/plugins/setu/__init__.py b/ATRI/plugins/setu/__init__.py index 6f491bd..d4eb419 100644 --- a/ATRI/plugins/setu/__init__.py +++ b/ATRI/plugins/setu/__init__.py @@ -99,7 +99,9 @@ async def _setu_catcher(bot: Bot, event: MessageEvent): hso = list() for i in args: try: - data = await Setu(i).detecter(_catcher_max_file_size, _catcher_disab_gif) + data = await Setu(i).detecter( + _catcher_max_file_size, _catcher_disab_gif + ) except Exception: return if data > 0.7: |