浏览代码

fix: kang, StickerSetInvalid error spam (#268)

SI_NN_ER_LS 2 年之前
父节点
当前提交
8f9ea84f9d
共有 1 个文件被更改,包括 1 次插入 和 1 次删除
  1. 1 1
      wbb/utils/stickerset.py

+ 1 - 1
wbb/utils/stickerset.py

@@ -36,7 +36,7 @@ async def get_sticker_set_by_name(
                 hash=0,
             )
         )
-    except errors.exceptions.not_acceptable_406.StickersetInvalid:
+    except errors.exceptions.bad_request_400.StickersetInvalid:
         return None