fix: Hug regex

This commit is contained in:
Clansty 2023-02-22 13:21:49 +08:00
parent ca4c87c064
commit 0f1a7e9798
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -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;