Support multiple nicknames

This commit is contained in:
Richard Chien
2018-07-04 09:39:50 +08:00
parent 030a31e63f
commit b00e31ad84
2 changed files with 7 additions and 3 deletions

View File

@ -6,6 +6,6 @@ HOST = '0.0.0.0'
SECRET = 'abc'
SUPERUSERS = {1002647525}
NICKNAME = '奶茶'
NICKNAME = {'奶茶', '小奶茶'}
COMMAND_START = {'', '/', '!', '', '', re.compile(r'^>+\s*')}
COMMAND_SEP = {'/', '.', re.compile(r'#|::?')}