mirror of
https://github.com/hyper-neptune/yuuki.git
synced 2024-11-15 19:04:37 +08:00
45 lines
No EOL
1 KiB
Python
45 lines
No EOL
1 KiB
Python
# -*- 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
|
|
helper_LINE_ACCESS_KEYs = []
|
|
|
|
Console = Yuuki(Seq, Connection, helper_LINE_ACCESS_KEYs, Admin)
|
|
Console.cleanMyGroupInvitations()
|
|
|
|
##############################################################
|
|
|
|
###########################Start!#############################
|
|
print("Star Yuuki BOT - Start Successful!")
|
|
|
|
if __name__ == "__main__":
|
|
Console.Poll() |