Add only_short_message option

This commit is contained in:
Richard Chien
2018-07-27 22:53:38 +08:00
parent 086ac57c21
commit 7b96decf53
2 changed files with 21 additions and 6 deletions

View File

@ -30,5 +30,6 @@ COMMAND_START = {'/', '!', '', ''}
COMMAND_SEP = {'/', '.'}
SESSION_EXPIRE_TIMEOUT = timedelta(minutes=5)
SESSION_RUNNING_EXPRESSION = '您有命令正在执行,请稍后再试'
SHORT_MESSAGE_MAX_LENGTH = 50
DATA_FOLDER = os.path.join(os.getcwd(), 'data')