Sfoglia il codice sorgente

fix: kang, StickerSetInvalid error spam (#268)

SI_NN_ER_LS 2 anni fa
parent
commit
8f9ea84f9d
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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