コード例 #1
0
def santino(update: Update, context: CallbackContext):
    chat_id = update.message.chat_id
    if (chat_id == -1001031103640
            or chat_id == config_map['dev_group_chatid']):
        check_log(update, context, "santino")
        message_text = EasterEgg.get_santino()
        context.bot.sendMessage(chat_id=update.message.chat_id,
                                text=message_text)
コード例 #2
0
def lei_che_ne_pensa_signorina_cmd():
    return EasterEgg.getLeiCheNePensaSignorina()
コード例 #3
0
def bladrim_cmd():
    return EasterEgg.getBladrim()
コード例 #4
0
def santino_cmd():
    return EasterEgg.getSantino()
コード例 #5
0
def smonta_portoni_cmd():
    return EasterEgg.getSmontaPortoni()
コード例 #6
0
def smonta_portoni(update: Update, context: CallbackContext):
    check_log(update, context, "smonta_portoni")
    message_text = EasterEgg.get_smonta_portoni()
    context.bot.sendMessage(chat_id=update.message.chat_id, text=message_text)
コード例 #7
0
def lei_che_ne_pensa_signorina(update: Update, context: CallbackContext):
    check_log(update, context, "leiCheNePensaSignorina")
    message_text = EasterEgg.get_lei_che_ne_pensa_signorina()
    context.bot.sendMessage(chat_id=update.message.chat_id, text=message_text)
コード例 #8
0
def bladrim(update: Update, context: CallbackContext):
    check_log(update, context, "bladrim")
    message_text = EasterEgg.get_bladrim()
    context.bot.sendMessage(chat_id=update.message.chat_id, text=message_text)
コード例 #9
0
def lei_che_ne_pensa_signorina(bot, update):
    check_log(bot, update, "leiCheNePensaSignorina")
    message_text = EasterEgg.get_lei_che_ne_pensa_signorina()
    bot.sendMessage(chat_id=update.message.chat_id, text=message_text)
コード例 #10
0
def bladrim(bot, update):
    check_log(bot, update, "bladrim")
    message_text = EasterEgg.get_bladrim()
    bot.sendMessage(chat_id=update.message.chat_id, text=message_text)
コード例 #11
0
def santino(bot, update):
    chat_id = update.message.chat_id
    if (chat_id == -1001031103640 or chat_id == config_map['dev_group_chatid']):
        check_log(bot, update, "santino")
        message_text = EasterEgg.get_santino()
        bot.sendMessage(chat_id=update.message.chat_id, text=message_text)
コード例 #12
0
def smonta_portoni(bot, update):
    check_log(bot, update, "smonta_portoni")
    message_text = EasterEgg.get_smonta_portoni()
    bot.sendMessage(chat_id=update.message.chat_id, text=message_text)
コード例 #13
0
def santino(bot, update):
    chat_id = update.message.chat_id
    if (chat_id == -1001031103640 or chat_id == -1001095167198):
        check_log(bot, update, "santino")
        message_text = EasterEgg.get_santino()
        bot.sendMessage(chat_id=update.message.chat_id, text=message_text)