как активировать сразу несколько триггеров?

мне нужно чтобы при определенной команде срабатывало сразу несколько функций ( но чтобы они также работали и отдельно друг от друга )

Примерный код

@bot.message_handler(commands=['hellofirst'])
def hellofirst(message):
    bot.send_message(message.chat.id, 'Hello1')

@bot.message_handler(commands=['hellosecond'])
def hellosecond(message):
    bot.send_message(message.chat.id, 'Hello2')

@bot.message_handler(commands=['hellothird'])
def hellothird(message):
    bot.send_message(message.chat.id, '{0} and {1}'.format(hellofirst,hellosecond)

Заранее спасибо.


Ответы (0 шт):