star-39 / moe-sticker-bot

A Telegram bot that imports LINE/kakao stickers or creates/manages new sticker set.
GNU General Public License v3.0
272 stars 31 forks source link

Unable to add sticker into an existing sticker set #29

Open cheukmlau1013 opened 6 months ago

cheukmlau1013 commented 6 months ago

Subject of the issue

Unable to add sticker into an existing sticker set.

Steps to reproduce

  1. Create an Animated Sticker set.
  2. Manage sticker set and add sticker.

Expected behaviour

The response should be as below:

File OK. Got 1 stickers. Continue sending files or press button below to stop adding.
檔案OK. 已收到1份貼圖. 請繼續傳送檔案. 或者按下方按鈕來停止增添.

image

Actual behaviour

The response is below:

Failed converting one user sticker:exit status 1
Failed processing this file. 處理此檔案時錯誤: download or convert error

image

Remarks

  1. This does not happen when creating new animated sticker set with these two files, only add sticker operation causes this issue.
  2. This issue happens after 2024-04-01. Before 2024-04-01, it worked as expected.
cheukmlau1013 commented 5 months ago

Update: This is probably due to Telegram Bot API changes on 2024-03-31. https://core.telegram.org/bots/api image