summaryrefslogtreecommitdiff
path: root/ATRI/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'ATRI/config.py')
-rw-r--r--ATRI/config.py29
1 files changed, 16 insertions, 13 deletions
diff --git a/ATRI/config.py b/ATRI/config.py
index 4a8ed10..caff717 100644
--- a/ATRI/config.py
+++ b/ATRI/config.py
@@ -1,3 +1,19 @@
+#!/usr/bin/env python3
+# -*- coding:utf-8 -*-
+'''
+File: config.py
+Created Date: 2021-02-02 16:43:54
+Author: Kyomotoi
+Email: Kyomotoiowo@gmail.com
+License: GPLv3
+Project: https://github.com/Kyomotoi/ATRI
+--------
+Last Modified: Sunday, 7th March 2021 2:31:06 pm
+Modified By: Kyomotoi (kyomotoiowo@gmail.com)
+--------
+Copyright (c) 2021 Kyomotoi
+'''
+
from pathlib import Path
from datetime import timedelta
from ipaddress import IPv4Address
@@ -10,19 +26,6 @@ config = load_yml(CONFIG_PATH)
nonebot_config = config['BotSelfConfig']
-COPYRIGHT = """
- █████ ████████ ██████ ██
-██ ██ ██ ██ ██ ██
-███████ ██ ██████ ██
-██ ██ ██ ██ ██ ██
-██ ██ ██ ██ ██ ██
-=========================================
-Copyright © 2021 Kyomotoi, All Rights Reserved.
-Project: https://github.com/Kyomotoi/ATRI
-"""
-
-VERSION = "YHN-001-A01"
-
RUNTIME_CONFIG = {
"host": IPv4Address(nonebot_config.get('host', '127.0.0.1')),
"port": int(nonebot_config.get('port', '8080')),