yuuki/main.py

45 lines
1,006 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
Version: v6.5.0
Copyright(c) 2019 Star Inc. All Rights Reserved.
"""
Admin = [""]
LINE_ACCESS_KEY = ""
########################Initializing##########################
from libs.function import Yuuki
from libs.connection import Yuuki_Connection
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
Accounts = []
Console = Yuuki(Seq, Connection, Accounts, Admin)
Console.cleanMyGroupInvitations()
##############################################################
###########################Start!#############################
print("Star Yuuki BOT - Start Successful!")
if __name__ == "__main__":
Console.Poll()