jh0ker / mau_mau_bot

Telegram Bot that allows you to play Mau Mau (UNO) via inline queries
GNU Affero General Public License v3.0
312 stars 231 forks source link

UserWarning: telegram.Emoji is being deprecated #32

Closed BebopSpikeSpiegel closed 7 years ago

BebopSpikeSpiegel commented 7 years ago

[root@kant mau_mau_bot]# python3 bot.py /usr/local/lib/python3.5/site-packages/telegram/emoji.py:37: UserWarning: telegram.Emoji is being deprecated, please see https://git.io/v6DeB warnings.warn("telegram.Emoji is being deprecated, please see https://git.io/v6DeB") /usr/local/lib/python3.5/site-packages/telegram/emoji.py:37: UserWarning: telegram.Emoji is being deprecated, please see https://git.io/v6DeB warnings.warn("telegram.Emoji is being deprecated, please see https://git.io/v6DeB") /usr/local/lib/python3.5/site-packages/telegram/ext/messagehandler.py:88: UserWarning: Using a list of filters in MessageHandler is getting deprecated, please use bitwise operators (& and |) instead. More info: https://git.io/vPTbc. warnings.warn('Using a list of filters in MessageHandler is getting ' & i think maybe need update? but how to update or need u update? @jh0ker

BebopSpikeSpiegel commented 7 years ago

sorry for that code...i first comment issues

cogumm commented 7 years ago

up

Karho commented 7 years ago

I have decided to remove the dependence on telegram.emoji and directly use the emoji instead.

Thanks for your notice.

BebopSpikeSpiegel commented 7 years ago

So how to run bot Is this warning that I can not use it?

2017年5月4日 下午2:17,"Karho" notifications@github.com写道:

I have decided to remove the dependence on telegram.emoji and directly use the emoji instead.

Thanks for your notice.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jh0ker/mau_mau_bot/issues/32#issuecomment-299104418, or mute the thread https://github.com/notifications/unsubscribe-auth/AZ7C6ZJy95BZ6EpR2dhkWbX3wFUslv7wks5r2W2GgaJpZM4M8ape .

Karho commented 7 years ago

@BadBoySeventeen

It is no harm to use the code now and the warning appears is because the code is now based on the deprecated features in the Python package python-telegram-bot.

So how to run bot Is this warning that I can not use it?