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)
def nsfw(message): utils.nsfw_print(message.chat.id, bot)