summaryrefslogtreecommitdiff
path: root/config.py
diff options
context:
space:
mode:
authorKyomotoi <[email protected]>2020-08-11 00:26:16 +0800
committerGitHub <[email protected]>2020-08-11 00:26:16 +0800
commitda8f67113a9fcd905a7ceefecf61fff27a40359c (patch)
tree26dfe515dc37d85314397c5e10d574a85c84e440 /config.py
parentb706246f806c1e46e7bf6d1166039722f2de50fb (diff)
downloadATRI-da8f67113a9fcd905a7ceefecf61fff27a40359c.tar.gz
ATRI-da8f67113a9fcd905a7ceefecf61fff27a40359c.tar.bz2
ATRI-da8f67113a9fcd905a7ceefecf61fff27a40359c.zip
Delete config.py
Diffstat (limited to 'config.py')
-rw-r--r--config.py115
1 files changed, 0 insertions, 115 deletions
diff --git a/config.py b/config.py
deleted file mode 100644
index 688b1e3..0000000
--- a/config.py
+++ /dev/null
@@ -1,115 +0,0 @@
-# -*- coding:utf-8 -*-
-import os
-import time
-from nonebot.default_config import *
-
-#配置监听的 IP 和 端口
-HOST = '127.0.0.1'
-PORT = 8080
-
-# 机器人的主人(QQ号)即 超级用户
-SUPERUSERS = [1172294279]
-def MASTER():
- return 1172294279
-
-# 机器人名称,替代 @ 和 命令开头
-NICKNAME = {'ATRI'}
-
-# 自定义命令开头
-COMMAND_START = {''}
-
-BANGROUP = []
-
-# API url:https://api.lolicon.app/#/setu
-LOLICONAPI = "574300555ee56eb2be5e03"
-
-# API url:https://ai.qq.com/
-TX_APP_ID = "2149641190"
-TX_APPKEY = "Au8cFoAPWyGJBGpv"
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-#以下请勿删除
-
-print("正在导入记忆模块ing...")
-
-if SUPERUSERS:
- print("主人已识别!")
-else:
- print("ATRI无法从记忆储蓄模块找到主人...如需帮助,请查看安装手册")
- time.sleep(1)
- print("仿生人没有主人是无法继续存在的!将于三秒后执行休眠...")
- time.sleep(3)
- os._exit(0)
-
-if NICKNAME:
- print("对ATRI的特别称呼已加载!")
-else:
- print("ATRI没特别的小昵称嘛...彳亍8")
- print("既然这样那叫我ATRI就好力!")
- NICKNAME = {'ATRI', 'アトリ'}
- time.sleep(1)
- wait = input("是否继续: Y/N\n")
- if wait == "Y" or 'y':
- pass
- else:
- os._exit(0)
-
-if COMMAND_START:
- print("呼叫指令已加载!")
-else:
- print("如果没指定特别呼叫ATRI的手势的话,直接称呼我名称吧!")
- COMMAND_START = {'ATRI', ''}
- time.sleep(1)
- wait = input("是否继续: Y/N\n")
- if wait == "Y" or 'y':
- pass
- else:
- os._exit(0)
-
-if LOLICONAPI:
- print("涩图大门的钥匙已到手!")
-else:
- print("似乎没拿到大门的钥匙呢...如需帮助,请查看安装手册")
- print("...跳过!")
- time.sleep(1)
- wait = input("是否继续: Y/N\n")
- if wait == "Y" or 'y':
- pass
- else:
- os._exit(0)
-
-if TX_APP_ID:
- print("TX知识库识别码已加载!")
-else:
- print("ATRI无法在记忆储蓄模块找到TX知识库识别码呢...如需帮助,请查看安装手册")
- print("...跳过!")
- time.sleep(1)
- wait = input("是否继续: Y/N\n")
- if wait == "Y" or 'y':
- pass
- else:
- os._exit(0)
-
-if TX_APPKEY:
- print("TX识别密匙已加载!")
-else:
- print("ATRI无法在记忆模块中找到TX识别密匙呢...如需帮助,请查看安装手册")
- time.sleep(1)
- wait = input("是否继续: Y/N\n")
- if wait == "Y" or 'y':
- pass
- else:
- os._exit(0) \ No newline at end of file