Remove unnecessary comment in contextManager

- Remove comment "// 处理所有命令" from processText method.
This commit is contained in:
bobo.yang 2023-07-24 00:11:56 +08:00
parent 944e4e0c9b
commit c41fe6906b

View File

@ -64,7 +64,6 @@ export interface ChatContext {
}
async processText(command: string): Promise<string[]> {
// 处理所有命令
for (const contextObj of this.contexts) {
if (contextObj.name === command) {
return await contextObj.handler();