mirror of
https://github.com/A-Minos/nonebot-plugin-tetris-stats.git
synced 2026-03-05 05:36:54 +08:00
添加一些自称
This commit is contained in:
@@ -26,7 +26,10 @@ async def handleStatsQueryMessage(message: str, gameType: str) -> tuple[str | No
|
|||||||
'TOS': ['tos查', 'tostats', 'tosstats', '茶服查', '茶服stats'],
|
'TOS': ['tos查', 'tostats', 'tosstats', '茶服查', '茶服stats'],
|
||||||
'TOP': ['top查', 'topstats']}
|
'TOP': ['top查', 'topstats']}
|
||||||
_ME = ['我', '自己', '我等', '卑人', '愚', '老身', '爷', '老娘', '本姑娘', '本大爷',
|
_ME = ['我', '自己', '我等', '卑人', '愚', '老身', '爷', '老娘', '本姑娘', '本大爷',
|
||||||
'鄙人', '寡人', '小生', '贫僧', '本人', '孤', '吾', '俺', '咱', '私', 'me']
|
'鄙人', '寡人', '小生', '贫僧', '本人', '孤', '吾', '俺', '咱', '私', 'me',
|
||||||
|
'洒家', '在下', '偶', '人家', '本小姐', '老夫', '老子', '朕', '本尊', '僕',
|
||||||
|
'拙者', '妾', '儂', '自分', '吾輩', '我輩', '某', '己等', '俺等', '此方',
|
||||||
|
'哥', '姐', '劳资']
|
||||||
# 剔除命令前缀
|
# 剔除命令前缀
|
||||||
for i in _CMD_ALIASES[gameType]:
|
for i in _CMD_ALIASES[gameType]:
|
||||||
if match(rf'(?i){i}', message):
|
if match(rf'(?i){i}', message):
|
||||||
|
|||||||
Reference in New Issue
Block a user