star-39 / moe-sticker-bot

A Telegram bot that imports LINE/kakao stickers or creates/manages new sticker set.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

the animate stickers runs with Fatal error result

makusujp opened this issue · comments

I self host the bot by clone in debian11.1
previously the bot works fine.
the animated sticker just goes to the static pictures.

this update I deleted the whole moe-sticker-bot folder,
and recheck install of the requirement.
but the bot returns this result below

Traceback (most recent call last): File "/home/debian/Downloads/moe-sticker-bot/helper.py", line 41, in retry_do func() File "/home/debian/Downloads/moe-sticker-bot/main.py", line 71, in <lambda> err = retry_do(lambda: ctx.bot.create_new_sticker_set(user_id=update.effective_user.id, File "/home/debian/.local/lib/python3.9/site-packages/telegram/bot.py", line 130, in decorator result = func(*args, **kwargs) TypeError: create_new_sticker_set() got an unexpected keyword argument 'webm_sticker'

and i tested once at your official one works.
does the requirements added something new but not listed?

Hello! This is because Telegram has recently updated Bot API to support video sticker.

The python-telegram-bot package you are using is too old, please update to 13.11.

You can try running

pip3 install -U python-telegram-bot

thanks
that upgrade did help