def send_message_to_all_users5(): for user in users_db.find(): try: bot.send_message(user['chat_id'], 'Напиши /start ещё раз!') except Exception as e: print('Something wrong')
def send_message_to_all_users6(): for user in users_db.find(): try: bot.send_message(user['chat_id'], 'Я самоуничтожаюсь на неопределённый срок, чтобы из-за меня никому не было плохо, хоть я и создан как дополнение') except Exception as e: print('Something wrong')
def send_message_to_all_users4(): for user in users_db.find(): try: bot.send_message(user['chat_id'], 'Астрономия: '+ 'https://meet.lync.com/dlitdp-dlit/orlyansky/MT73Q14M') except Exception as e: print('Something wrong')
def send_message_to_all_users3(): for user in users_db.find(): try: bot.send_message(user['chat_id'], 'Английский: '+ 'https://meet.lync.com/dlitdp-dlit/virolajnen_n/B2JG2N9G') except Exception as e: print('Something wrong')
def send_message_to_all_users2(): for user in users_db.find(): try: bot.send_message(user['chat_id'], 'Математика: '+ 'https://bit.ly/3bfAO28') except Exception as e: print('Something wrong')
def send_message_to_all_users1(): for user in users_db.find(): try: bot.send_message(user['chat_id'], 'История: ' + 'без ссылки') except Exception as e: print('Something wrong')
def send_message_to_all_users(): for user in users_db.find(): try: bot.send_message(user['chat_id'], 'https://kr4u4ba.xyz Есть расписание, дз, и многое другое.') except Exception as e: print('Something wrong')