mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-11-24 17:15:05 +08:00
18 lines
325 B
Python
18 lines
325 B
Python
import os
|
||
from datetime import timedelta
|
||
|
||
API_ROOT = ''
|
||
SECRET = ''
|
||
ACCESS_TOKEN = ''
|
||
HOST = '127.0.0.1'
|
||
PORT = 8080
|
||
DEBUG = True
|
||
|
||
SUPERUSERS = set()
|
||
NICKNAME = ''
|
||
COMMAND_START = {'/', '!', '/', '!'}
|
||
COMMAND_SEP = {'/', '.'}
|
||
SESSION_EXPIRE_TIMEOUT = timedelta(minutes=5)
|
||
|
||
DATA_FOLDER = os.path.join(os.getcwd(), 'data')
|