소스 검색

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