From 5487ad601dea57c34d8721e4373db57df2fe6f17 Mon Sep 17 00:00:00 2001 From: Kyomotoi <1172294279@qq.com> Date: Wed, 29 Apr 2020 00:05:27 +0800 Subject: =?UTF-8?q?=E5=90=8C=E6=A0=B7=E5=A2=9E=E5=8A=A0=E4=BA=86=E4=B8=80?= =?UTF-8?q?=E4=BA=9B=E7=90=90=E7=A2=8E=E5=B0=8F=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AyaBot/config.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 AyaBot/config.py (limited to 'AyaBot/config.py') diff --git a/AyaBot/config.py b/AyaBot/config.py new file mode 100644 index 0000000..382a461 --- /dev/null +++ b/AyaBot/config.py @@ -0,0 +1,14 @@ +from nonebot.default_config import * + +#配置监听的 IP 和端口 +HOST = '127.0.0.1' +PORT = 8080 + +#设置超级用户 +SUPERUSERS = {1172294279} + +#机器人赋名,替代@ +NICKNAME = {'喵内', 'rbq', 'Aya'} + +#自定义命令开头 +COMMAND_START = {'', '/', '!', '/', '!'} \ No newline at end of file -- cgit v1.2.3