diff --git a/src/controllers/HugController.ts b/src/controllers/HugController.ts index 0586bcd..06343a8 100644 --- a/src/controllers/HugController.ts +++ b/src/controllers/HugController.ts @@ -23,7 +23,7 @@ type ActionSubjectQq = { type ActionSubject = ActionSubjectTg | ActionSubjectQq; -const COMMAND_REGEX = /^\/([^\w\s$]\S*)|\$(\w\S*)/; // /抱 /$rua +const COMMAND_REGEX = /^\/([^\w\s$]\S*)|^\/\$(\w\S*)/; // /抱 /$rua export default class { private readonly log: Logger;