yuuki/main.py

44 lines
982 B
Python
Raw Normal View History

2019-08-22 18:33:10 +08:00
# -*- coding: utf-8 -*-
"""
Star Yuuki Bot - Yuuki
~~~~~~~~~~~
This is a main program in SYB.
It`s belong to Star Yuuki(pYthon) Bot Project of Star Neptune Bot
2019-08-23 18:12:41 +08:00
2019-08-22 18:33:10 +08:00
Version: v6.5.0
2019-08-23 18:12:41 +08:00
2019-08-22 18:33:10 +08:00
Copyright(c) 2019 Star Inc. All Rights Reserved.
2019-08-23 18:12:41 +08:00
The software licensed under Mozilla Public License Version 2.0
2019-08-22 18:33:10 +08:00
"""
Admin = [""]
LINE_ACCESS_KEY = ""
2019-08-23 18:12:41 +08:00
helper_LINE_ACCESS_KEYs = []
2019-08-22 18:33:10 +08:00
########################Initializing##########################
2019-08-23 18:12:41 +08:00
from libs import *
2019-08-22 18:33:10 +08:00
Connection = Yuuki_Connection()
Connection.connectInfo = {
'Host': '',
'Command_Path': '',
'LongPoll_path': ''
}
Connection.connectHeader = {
'X-Line-Application': '',
'X-Line-Access': LINE_ACCESS_KEY,
'User-Agent': ''
}
Seq = 0
2019-08-22 18:52:24 +08:00
Console = Yuuki(Seq, Connection, helper_LINE_ACCESS_KEYs, Admin)
2019-08-22 18:33:10 +08:00
Console.cleanMyGroupInvitations()
###########################Start!#############################
print("Star Yuuki BOT - Start Successful!")
if __name__ == "__main__":
Console.Poll()