Beispiel #1
0
def checkNewYear():
	global hiNewYear
	if(hiNewYear == False and T.year() == 2016 and T.month() == 1 and T.day() == 1 and T.hour() == 0 and T.minute() == 0):
		bot.send_message(msg.chatId, "Hey you awesome dudes").wait()
		bot.send_message(msg.chatId, "I just want to say...").wait()
		time.sleep(1.1)
		bot.send_message(msg.chatId, "*H*A*P*PY* *N*E*W* *Y*E*A*R*").wait()
		hiNewYear = True