示例#1
0
def media_caption(message):
    if message.caption is not None:
        if message.caption.find('/nsfw') != -1:
            utils.nsfw_print(message.chat.id, bot)
        elif message.caption.startswith('/meme_add'):
            utils.meme_add_processing(message, message.content_type, bot)
示例#2
0
def nsfw(message):
    utils.nsfw_print(message.chat.id, bot)