Explorar el Código

fix: kang, StickerSetInvalid error spam (#268)

SI_NN_ER_LS hace 2 años
padre
commit
8f9ea84f9d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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